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 | 6acecfb3cdfe458308337ed89d43040dddc3fcf6 (patch) | |
tree | 757cc7340749aa8a136d2966da743fbc3034ecd0 | |
parent | 56885c545e05d783ffd0ce97c9132f8582080acd (diff) | |
download | upstream-6acecfb3cdfe458308337ed89d43040dddc3fcf6.tar.gz upstream-6acecfb3cdfe458308337ed89d43040dddc3fcf6.tar.bz2 upstream-6acecfb3cdfe458308337ed89d43040dddc3fcf6.zip |
add -rpath-link to TARGET_LDFLAGS by default
SVN-Revision: 12510
-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 |