aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.common b/Makefile.common
index b835eea3b9..cd984f42a7 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -47,15 +47,15 @@ ifdef BUILD_PLUGINS
CXXFLAGS += -DDYNAMIC_MODULES
# Uncomment these for Mac OS X
-#PLUGIN_LDFLAGS := -bundle -bundle_loader $(EXECUTABLE)
-#LDFLAGS += -all_load
-#LIBS += -ldl
+#PLUGIN_LDFLAGS += -bundle -bundle_loader $(EXECUTABLE)
+#LDFLAGS += -all_load
+#LIBS += -ldl
# Uncomment these for Linux
-CXXFLAGS += -fpic
-PLUGIN_LDFLAGS := -shared
-LDFLAGS += --export-dynamic
-LIBS += -ldl
+CXXFLAGS += -fpic
+PLUGIN_LDFLAGS += -shared
+LDFLAGS += -Wl,--export-dynamic
+LIBS += -ldl
endif