diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-03 13:18:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-03 13:18:52 +0000 |
commit | fa32884c03e78437e7d04b3bb299afec5e9620d8 (patch) | |
tree | ae0914919781c71fe497a2e5537d66ccb9500886 /rules.mk | |
parent | 208c2c72eb1e34e8b5be73ae9e737be7ee8773ab (diff) | |
download | upstream-fa32884c03e78437e7d04b3bb299afec5e9620d8.tar.gz upstream-fa32884c03e78437e7d04b3bb299afec5e9620d8.tar.bz2 upstream-fa32884c03e78437e7d04b3bb299afec5e9620d8.zip |
add -rpath-link to TARGET_LDFLAGS by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |