[OpenWrt-Devel] [PATCH] add LD_LIBRARY to cmake.mk

2011-05-20 Thread Jan Willies
Otherwise cmake programs try to link with host ld.so

Signed-off-by: Jan Willies j...@willies.info
---
 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
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] add LD_LIBRARY to cmake.mk

2011-05-20 Thread Peter Lebbing
On 20/05/11 18:06, Jan Willies wrote:
 Otherwise cmake programs try to link with host ld.so

 + -DDL_LIBRARY=$(STAGING_DIR) \

Typo alert? It says DL_LIBRARY not LD_LIBRARY which sounds more logical
to me.

(Meanwhile, I've been looking at kpbs for quite a while today, not
understanding why tc rejected it, before I realised it actually didn't say
kbps as I read it.)

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at http://wwwhome.cs.utwente.nl/~lebbing/pubkey.txt
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] add LD_LIBRARY to cmake.mk

2011-05-20 Thread Jan Willies
2011/5/20 Peter Lebbing pe...@digitalbrains.com

 On 20/05/11 18:06, Jan Willies wrote:
  Otherwise cmake programs try to link with host ld.so

  + -DDL_LIBRARY=$(STAGING_DIR) \

 Typo alert? It says DL_LIBRARY not LD_LIBRARY which sounds more logical
 to me.


Nope, it really is DL_LIBRARY. My description above is wrong, should have
been dl.so
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel