summaryrefslogtreecommitdiff
path: root/devel/libinjection/files/patch-Makefile
blob: d25604d3fd819a8be0ecde530ca767c5216e86c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.orig	2017-05-21 20:44:26 UTC
+++ Makefile
@@ -63,7 +63,7 @@ libinjection_html5.o: libinjection.h libinjection_html
 	${CC} ${CFLAGS} -c -o libinjection_html5.o libinjection_html5.c
 
 ${SHAREDLIB}: ${OBJECTS}
-	$(CC) $+ -shared -lc -o $@
+	$(CC) ${OBJECTS} -shared -Wl,-soname,libinjection.so.%%SHLIB_VER%% -lc -o $@
 
 ${STATICLIB}: ${OBJECTS}
 	rm -f ${STATICLIB}