libnl-tiny: link library with -Bsymbolic-functions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45510
This commit is contained in:
Felix Fietkau 2015-04-19 18:33:19 +00:00
parent 5199a23165
commit 1233e38be8

View 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 $@ $^