add LD_LIBRARY to cmake.mk
[openwrt/svn-archive/archive.git] / include / cmake.mk
index 22255ac..fd8ff2d 100644 (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) \
                . \
        )