summaryrefslogtreecommitdiffstats
path: root/include/cmake.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-25 15:49:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-25 15:49:49 +0000
commit1d2c63c45518030171766c666755eac5f1bd4fd2 (patch)
treef07c5ab46b41f08633648a8d1c937ecbc5666a8e /include/cmake.mk
parent7b5236de85a7d4fb5bb77d4a6fcbff89f127b070 (diff)
downloadmaster-31e0f0ae-1d2c63c45518030171766c666755eac5f1bd4fd2.tar.gz
master-31e0f0ae-1d2c63c45518030171766c666755eac5f1bd4fd2.tar.bz2
master-31e0f0ae-1d2c63c45518030171766c666755eac5f1bd4fd2.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> SVN-Revision: 48492
Diffstat (limited to 'include/cmake.mk')
-rw-r--r--include/cmake.mk2
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