diff --git a/Makefile b/Makefile index 4b31d16906..0faf972dc4 100644 --- a/Makefile +++ b/Makefile @@ -300,7 +300,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