Skip to content

Commit

Permalink
Fix Homebrew bottling error (#257)
Browse files Browse the repository at this point in the history
* Add `OTHER_LDFLAGS=-Wl,-headerpad_max_install_names` to `XCODEFLAGS`

To fix build error on Homebrew/homebrew-core#5094

* bump version to 0.14.1 and add changelog entry
  • Loading branch information
norio-nomura authored and jpsim committed Sep 22, 2016
1 parent 7e6d2b8 commit 78c1e3d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Master
## 0.14.1

##### Breaking

Expand All @@ -10,7 +10,8 @@

##### Bug Fixes

* None.
* Fixed Homebrew distribution.
[Norio Nomura](https://github.com/norio-nomura)

## 0.14.0

Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ TEMPORARY_FOLDER?=/tmp/SourceKitten.dst
PREFIX?=/usr/local
BUILD_TOOL?=xcodebuild

XCODEFLAGS=-workspace 'SourceKitten.xcworkspace' -scheme 'sourcekitten' DSTROOT=$(TEMPORARY_FOLDER)
XCODEFLAGS=-workspace 'SourceKitten.xcworkspace' \
-scheme 'sourcekitten' \
DSTROOT=$(TEMPORARY_FOLDER) \
OTHER_LDFLAGS=-Wl,-headerpad_max_install_names

BUILT_BUNDLE=$(TEMPORARY_FOLDER)/Applications/sourcekitten.app
SOURCEKITTEN_FRAMEWORK_BUNDLE=$(BUILT_BUNDLE)/Contents/Frameworks/SourceKittenFramework.framework
Expand Down
2 changes: 1 addition & 1 deletion Source/SourceKittenFramework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.14.0</string>
<string>0.14.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/sourcekitten/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.14.0</string>
<string>0.14.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/sourcekitten/VersionCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Commandant
import Result

private let version = "0.14.0"
private let version = "0.14.1"

struct VersionCommand: CommandType {
let verb = "version"
Expand Down

0 comments on commit 78c1e3d

Please sign in to comment.