libsnark: Don't set -static on Darwin

Co-authored-by: kozyilmaz <kazim@monolytic.com>
This commit is contained in:
Jack Grigg 2018-03-12 18:45:55 +00:00
parent 4fe053e6e8
commit 381a79a909
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 4 additions and 1 deletions

View File

@ -141,7 +141,10 @@ ifeq ($(PROFILE_OP_COUNTS),1)
endif
ifeq ($(STATIC),1)
CXXFLAGS += -static -DSTATIC
ifneq ($(PLATFORM),darwin)
CXXFLAGS += -static
endif
CXXFLAGS += -DSTATIC
else
CXXFLAGS += -fPIC
endif