Browse Source

Change the `swiftc` argument to use static Swift libraries. (#424)

Fixes #416 (hopefully).
Daniel Alm 6 years ago
parent
commit
6bbc15c265
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -11,8 +11,8 @@ all:
 	cp .build/debug/protoc-gen-swiftgrpc .
 
 plugin:
-	swift build $(CFLAGS) --product protoc-gen-swift -c release -Xswiftc -static-stdlib
-	swift build $(CFLAGS) --product protoc-gen-swiftgrpc -c release -Xswiftc -static-stdlib
+	swift build $(CFLAGS) --product protoc-gen-swift --static-swift-stdlib -c release
+	swift build $(CFLAGS) --product protoc-gen-swiftgrpc --static-swift-stdlib -c release
 	cp .build/release/protoc-gen-swift .
 	cp .build/release/protoc-gen-swiftgrpc .