libsnark: Don't set -static on Darwin
Co-authored-by: kozyilmaz <kazim@monolytic.com>
This commit is contained in:
parent
4fe053e6e8
commit
381a79a909
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue