summaryrefslogtreecommitdiffstats
path: root/package/libtool/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-27 02:11:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-27 02:11:03 +0000
commitc8b1ee477f04a2c2ce175b32682a415d9ce69425 (patch)
treed214c39a19b49b58acc1d287b95c4069b168c295 /package/libtool/Makefile
parentea3044ff00ddef16532cd0d038ecf1b39aba8657 (diff)
upgrade libtool, add fixes for libdir searching, fix up paths to .la files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9941 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libtool/Makefile')
-rw-r--r--package/libtool/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 1aad64198..c3feb9ec8 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -9,7 +9,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libtool
-PKG_VERSION:=1.5.22
+PKG_VERSION:=1.5.24
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -21,6 +21,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
CONFIGURE_PREFIX=$(STAGING_DIR)/host
+export GLOBAL_LIBDIR=$(STAGING_DIR)/usr/lib
define Package/libltdl
SECTION:=libs
@@ -31,11 +32,17 @@ endef
define Build/InstallDev
$(MAKE) -C $(PKG_BUILD_DIR) \
+ bindir="$(2)/bin" \
+ datadir="$(2)/share" \
prefix="$(2)" \
exec_prefix="$(2)" \
install
$(INSTALL_DIR) $(1)/lib
mv $(2)/lib/* $(1)/lib/
+# $(SED) 's,^dlopen_self=unknown,dlopen_self=yes,' \
+# -e 's,^dlopen_self_static=unknown,dlopen_self_static=no,' \
+# -e 's,^link_all_deplibs=unknown,link_all_deplibs=no,' \
+# $(2)/bin/libtool
endef
define Package/libltdl/install