mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
add -rpath-link to TARGET_LDFLAGS by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3d14a11edd
commit
60d7093efa
2
rules.mk
2
rules.mk
@ -65,7 +65,7 @@ IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg
|
||||
TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH)
|
||||
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)
|
||||
TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
||||
TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
|
||||
TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
|
||||
-include $(TOOLCHAIN_DIR)/info.mk
|
||||
|
Loading…
Reference in New Issue
Block a user