From 13597f00248aba5f96c511d4a0b5880b539d6f4f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 May 2011 16:21:30 +0000 Subject: add LD_LIBRARY to cmake.mk Otherwise cmake programs try to link with host ld.so Signed-off-by: Jan Willies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26963 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/cmake.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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) \ . \ ) -- cgit v1.2.3