Skip to content
Snippets Groups Projects
Commit 0cf1dd42 authored by cyrus's avatar cyrus
Browse files

libnl-tiny: honor CFLAGS when linking


Signed-off-by: default avatarSteven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46029 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 523138ea
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_LICENSE:=LGPL-2.1
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
......
......@@ -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) -Wl,-Bsymbolic-functions -shared -o $@ $^
$(CC) $(CFLAGS) -Wl,-Bsymbolic-functions -shared -o $@ $^
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment