summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-19 18:33:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-19 18:33:19 +0000
commit1233e38be8fb2119431da3c192abfc6b13c2e3ab (patch)
tree7a2eb5bfb181babac45efdeb1628b85c16e764f9
parent5199a2316571d0d5e9ea6103894479e2e2ec1a16 (diff)
downloadmtk-20170518-1233e38be8fb2119431da3c192abfc6b13c2e3ab.zip
mtk-20170518-1233e38be8fb2119431da3c192abfc6b13c2e3ab.tar.gz
mtk-20170518-1233e38be8fb2119431da3c192abfc6b13c2e3ab.tar.bz2
libnl-tiny: link library with -Bsymbolic-functions
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45510
-rw-r--r--package/libs/libnl-tiny/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libnl-tiny/src/Makefile b/package/libs/libnl-tiny/src/Makefile
index f6f90ec..4d090b3 100644
--- a/package/libs/libnl-tiny/src/Makefile
+++ b/package/libs/libnl-tiny/src/Makefile
@@ -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 $@ $^