summaryrefslogtreecommitdiff
blob: ab2733373f011eea04ea8b08f4e2f545cd27545f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/Makefile b/src/Makefile
index ec6a524..700ff75 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -67,7 +67,7 @@ targets:	$(PLUGIN_LIB)
 
 $(PLUGIN_LIB):	$(PLUGIN_OBJECTS) gcc_exports.map
 	$(CXX)	$(LDFLAGS)						\
-		-shared							\
+		-dynamiclib -ldl							\
 		$(CFLAGS)						\
 		-fvisibility=hidden					\
 		-fvisibility-inlines-hidden				\