Skip to content

Commit

Permalink
Stop building with -static-stdlib
Browse files Browse the repository at this point in the history
Fixes #793
  • Loading branch information
jpsim committed Oct 15, 2023
1 parent 5a0c7cc commit d23f03d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
[Martin Redington](https://github.com/mildm8nnered)
[#765](https://github.com/jpsim/SourceKitten/issues/765)

* Fix compiling via `make` with Xcode 15.
[JP Simard](https://github.com/jpsim)
[#793](https://github.com/jpsim/SourceKitten/issues/793)

## 0.34.1

##### Breaking
Expand Down
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ XCODEFLAGS=-workspace 'SourceKitten.xcworkspace' \
OTHER_LDFLAGS=-Wl,-headerpad_max_install_names

SWIFT_BUILD_FLAGS=--configuration release
UNAME=$(shell uname)
ifeq ($(UNAME), Darwin)
USE_SWIFT_STATIC_STDLIB:=$(shell test -d $$(dirname $$(xcrun --find swift))/../lib/swift_static/macosx && echo yes)
ifeq ($(USE_SWIFT_STATIC_STDLIB), yes)
SWIFT_BUILD_FLAGS+= -Xswiftc -static-stdlib
endif
endif

SOURCEKITTEN_EXECUTABLE=$(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)/sourcekitten

Expand Down

0 comments on commit d23f03d

Please sign in to comment.