From: Jo-Philipp Wich Date: Wed, 22 Jun 2011 11:02:35 +0000 (+0000) Subject: merge r27256 X-Git-Tag: backfire_10.03.1~228 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40318c400bfe35a2ed9daf17b908210466440043;p=openwrt%2Fsvn-archive%2Fopenwrt.git merge r27256 SVN-Revision: 27257 --- diff --git a/include/cmake.mk b/include/cmake.mk index b419f004ae..7ff97f5df8 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -33,9 +33,9 @@ define Build/Configure/Default -DCMAKE_MODULE_LINKER_FLAGS="$(TARGET_LDFLAGS)" \ -DCMAKE_SHARED_LINKER_FLAGS="$(TARGET_LDFLAGS)" \ -DCMAKE_FIND_ROOT_PATH=$(STAGING_DIR) \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=$(STAGING_DIR_HOST) \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=$(STAGING_DIR) \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=$(STAGING_DIR) \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \ + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -DCMAKE_STRIP=: \ -DCMAKE_INSTALL_PREFIX=/usr \ $(CMAKE_OPTIONS) \