diff --git a/Makefile b/Makefile index bb4adcb62c..c8c8911bbb 100644 --- a/Makefile +++ b/Makefile @@ -269,7 +269,7 @@ ifneq ($(findstring darwin,$(OSARCH)),) SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace else # These are used for all but Darwin - SOLINK=-shared -Xlinker -x + SOLINK=-shared ifneq ($(findstring BSD,$(OSARCH)),) LDFLAGS+=-L/usr/local/lib endif