From: Felix Fietkau Date: Fri, 20 May 2011 16:21:30 +0000 (+0000) Subject: add LD_LIBRARY to cmake.mk X-Git-Tag: reboot~16714 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aea6afefe696838bfbb22239018497a351c52a82;p=openwrt%2Fstaging%2Fchunkeey.git add LD_LIBRARY to cmake.mk Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies SVN-Revision: 26963 --- 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) \ . \ )