mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
77fdc32a2e
* new file: projects/github.com/jpsim/SourceKitten/package.yml new file: projects/github.com/jpsim/SourceKitten/patch.diff new file: projects/github.com/jpsim/SourceKitten/test.swift * patch comment
18 lines
No EOL
623 B
Diff
18 lines
No EOL
623 B
Diff
__END__
|
|
diff --git a/Makefile b/Makefile
|
|
index 8ed333c5..cbad6d26 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -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
|