Skip to content
Snippets Groups Projects
Commit 4a298f0c authored by Felix Fietkau's avatar Felix Fietkau
Browse files

move libtool out of tools/, seems like we need a per-target libtool

SVN-Revision: 9937
parent c61b903d
No related branches found
No related tags found
No related merge requests found
...@@ -18,26 +18,29 @@ PKG_MD5SUM:=8e0ac9797b62ba4dcc8a2fb7936412b0 ...@@ -18,26 +18,29 @@ PKG_MD5SUM:=8e0ac9797b62ba4dcc8a2fb7936412b0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk
define Build/Configure CONFIGURE_PREFIX=$(STAGING_DIR)/host
$(call Build/Configure/Default, \
--disable-shared \
--disable-static \
)
endef
define Build/Compile define Package/libltdl
$(MAKE) -C $(PKG_BUILD_DIR) SECTION:=libs
CATEGORY:=Libraries
TITLE:=A generic dynamic object loading library
URL:=http://www.gnu.org/software/libtool/
endef endef
define Build/Install define Build/InstallDev
$(MAKE) -C $(PKG_BUILD_DIR) install $(MAKE) -C $(PKG_BUILD_DIR) \
prefix="$(2)" \
exec_prefix="$(2)" \
install
$(INSTALL_DIR) $(1)/lib
mv $(2)/lib/* $(1)/lib/
endef endef
define Build/Clean define Package/libltdl/install
$(MAKE) -C $(PKG_BUILD_DIR) uninstall clean $(INSTALL_DIR) $(1)/usr/lib
$(call Build/Clean/Default) $(CP) $(PKG_BUILD_DIR)/libltdl/.libs/libltdl.so.* $(1)/usr/lib/
endef endef
$(eval $(call HostBuild)) $(eval $(call BuildPackage,libltdl))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment