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
master
Felix Fietkau 2011-05-20 16:21:30 +00:00
parent 4677fcc57d
commit 13597f0024
1 changed files with 1 additions and 0 deletions

View File

@ -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) \
. \
)