aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-20 16:21:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-05-20 16:21:30 +0000
commitaea6afefe696838bfbb22239018497a351c52a82 (patch)
tree70aff82233d461bfaa54b33c52df5ce9825878a5
parentf2b7c81d46d8d8c31ec0fba1a69fb43d01921b95 (diff)
downloadupstream-aea6afefe696838bfbb22239018497a351c52a82.tar.gz
upstream-aea6afefe696838bfbb22239018497a351c52a82.tar.bz2
upstream-aea6afefe696838bfbb22239018497a351c52a82.zip
add LD_LIBRARY to cmake.mk
Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies <jan@willies.info> SVN-Revision: 26963
-rw-r--r--include/cmake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 22255acf59..fd8ff2d12d 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) \
. \
)