From: Florian Fainelli Date: Sun, 16 Apr 2006 09:22:06 +0000 (+0000) Subject: Force dlopen_deplibs since cross-compilation test does not set it. Closes #375 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3e7c30ad6934292695966b3ed43cafd3dd8b8e5;p=openwrt%2Fsvn-archive%2Farchive.git Force dlopen_deplibs since cross-compilation test does not set it. Closes #375 SVN-Revision: 3659 --- diff --git a/openwrt/package/libtool/Makefile b/openwrt/package/libtool/Makefile index 2342fb0b0c..e1047e1ec6 100644 --- a/openwrt/package/libtool/Makefile +++ b/openwrt/package/libtool/Makefile @@ -25,6 +25,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + libltdl_cv_sys_dlopen_deplibs=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/openwrt/package/libtool/patches/01-force_dlopen_deplibs.patch b/openwrt/package/libtool/patches/01-force_dlopen_deplibs.patch new file mode 100644 index 0000000000..71a75d4a49 --- /dev/null +++ b/openwrt/package/libtool/patches/01-force_dlopen_deplibs.patch @@ -0,0 +1,14 @@ +diff -urN libtool-1.5.14/libltdl/acinclude.m4 libtool-1.5.14.new/libltdl/acinclude.m4 +--- libtool-1.5.14/libltdl/acinclude.m4 2005-02-12 13:20:02.000000000 +0100 ++++ libtool-1.5.14.new/libltdl/acinclude.m4 2006-04-16 11:14:48.000000000 +0200 +@@ -6228,10 +6228,8 @@ + ;; + esac + ]) +-if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], + [Define if the OS needs help to load dependent libraries for dlopen().]) +-fi + ])# AC_LTDL_SYS_DLOPEN_DEPLIBS + +