summaryrefslogtreecommitdiff
path: root/include/cmake.mk
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 /include/cmake.mk
parentf2b7c81d46d8d8c31ec0fba1a69fb43d01921b95 (diff)
downloadmtk-20170518-aea6afefe696838bfbb22239018497a351c52a82.zip
mtk-20170518-aea6afefe696838bfbb22239018497a351c52a82.tar.gz
mtk-20170518-aea6afefe696838bfbb22239018497a351c52a82.tar.bz2
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
Diffstat (limited to 'include/cmake.mk')
-rw-r--r--include/cmake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 22255ac..fd8ff2d 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) \
. \
)