Bläddra i källkod

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

Fixes #416 (hopefully).
Daniel Alm 6 år sedan
förälder
incheckning
6bbc15c265
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 .