aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index 5da0612341..2fef3f31f0 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -41,10 +41,10 @@ PLUGIN_PREFIX := lib
PLUGIN_SUFFIX := .so
ifdef BUILD_PLUGINS
-# FIXME/TODO: The following is OS X specific (and the '-m' is an evil hack
-# to work around the conflict between our operators new/delete and the
-# ones provided by libstdc++.a)
-LDFLAGS += -all_load -m
+# FIXME/TODO: The following is OS X specific
+LDFLAGS += -all_load
+CXXFLAGS += -DDYNAMIC_MODULES
+LIBS += -ldl
endif
######################################################################