From 2bae258bff948feb062f3883ac356753558ae8fb Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 30 Sep 2013 21:41:51 -0700 Subject: [PATCH] Update make script for ldl --- hack/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make.sh b/hack/make.sh index 5195098ba..cac4534ea 100755 --- a/hack/make.sh +++ b/hack/make.sh @@ -44,7 +44,7 @@ if [ -n "$(git status --porcelain)" ]; then fi # Use these flags when compiling the tests and final binary -LDFLAGS='-X main.GITCOMMIT "'$GITCOMMIT'" -X main.VERSION "'$VERSION'" -w -linkmode external -extldflags "-ldl -pthread -static -Wl,--unresolved-symbols=ignore-in-shared-libs"' +LDFLAGS='-X main.GITCOMMIT "'$GITCOMMIT'" -X main.VERSION "'$VERSION'" -w -linkmode external -extldflags "-lpthread -static -Wl,--unresolved-symbols=ignore-in-object-files"' BUILDFLAGS='-tags netgo'