diff --git a/Makefile.rules b/Makefile.rules index 06e69c8e1d..b987504836 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -308,7 +308,7 @@ ifneq (,$(findstring cygwin,$(host_os))) else ifneq (,$(findstring darwin,$(host_os))) GAC_CFLAGS = -fno-common - GAC_LDFLAGS = -bundle -flat_namespace -bundle_loader $(SYSINFO_GAP) + GAC_LDFLAGS = -bundle -undefined dynamic_lookup -Wl,-no_fixup_chains else GAC_CFLAGS = -fPIC GAC_LDFLAGS = -shared -fPIC