diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-25 15:49:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-25 15:49:49 +0000 |
commit | 05e366cf700345eeafdc79f80d2ec885fa5e976b (patch) | |
tree | ba6c6a9a8f50755c5b377636a35f9f39dcd55456 /include | |
parent | 8d94947e8df19821ff4eb952fb2b703d20a9cad9 (diff) | |
download | master-187ad058-05e366cf700345eeafdc79f80d2ec885fa5e976b.tar.gz master-187ad058-05e366cf700345eeafdc79f80d2ec885fa5e976b.tar.bz2 master-187ad058-05e366cf700345eeafdc79f80d2ec885fa5e976b.zip |
include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain $(STAGING_DIR) to avoid picking up stuff from host/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/cmake.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cmake.mk b/include/cmake.mk index 0794c31f5c..a15cf3a671 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -28,7 +28,7 @@ CMAKE_AR:=$(call cmake_tool,$(TARGET_AR)) CMAKE_NM:=$(call cmake_tool,$(TARGET_NM)) CMAKE_RANLIB:=$(call cmake_tool,$(TARGET_RANLIB)) -CMAKE_FIND_ROOT_PATH:=$(STAGING_DIR);$(TOOLCHAIN_DIR)$(if $(CONFIG_EXTERNAL_TOOLCHAIN),;$(CONFIG_TOOLCHAIN_ROOT)) +CMAKE_FIND_ROOT_PATH:=$(STAGING_DIR)/usr;$(TOOLCHAIN_DIR)$(if $(CONFIG_EXTERNAL_TOOLCHAIN),;$(CONFIG_TOOLCHAIN_ROOT)) CMAKE_HOST_FIND_ROOT_PATH:=$(STAGING_DIR)/host;$(STAGING_DIR_HOST) CMAKE_SHARED_LDFLAGS:=-Wl,-Bsymbolic-functions |