summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-20 16:21:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-20 16:21:30 +0000
commit859eee55191418ab698e58d28b8c80eb8afa582b (patch)
treeac21a5c5c129d12e0978ed28a9ac2dd3acfcd8ad /include
parent4eff224df39618193db21c29b284404e07f1f306 (diff)
add LD_LIBRARY to cmake.mk
Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies <jan@willies.info> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/cmake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 22255acf5..fd8ff2d12 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -45,6 +45,7 @@ define Build/Configure/Default
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=$(STAGING_DIR) \
-DCMAKE_STRIP=: \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DDL_LIBRARY=$(STAGING_DIR) \
$(CMAKE_OPTIONS) \
. \
)