Otherwise cmake programs try to link with host ld.so
Signed-off-by: Jan Willies <[email protected]>
---
include/cmake.mk | 1 +
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) \
. \
)
--
1.7.2.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel