libnl-tiny: link library with -Bsymbolic-functions
authorFelix Fietkau <nbd@openwrt.org>
Sun, 19 Apr 2015 18:33:19 +0000 (18:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 19 Apr 2015 18:33:19 +0000 (18:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45510

package/libs/libnl-tiny/src/Makefile

index f6f90ec7fe689618cc5e6562f16f0b931cdcb029..4d090b35eca1216ebbfe2aea0823c0c66a206ebe 100644 (file)
@@ -14,4 +14,4 @@ LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o er
 GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o
 
 $(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ)
-       $(CC) -shared -o $@ $^
+       $(CC) -Wl,-Bsymbolic-functions -shared -o $@ $^