From: mirko Date: Sat, 13 Dec 2008 14:48:55 +0000 (+0000) Subject: add libtool-fix X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b4c657628ae94a72626d8e9569cc3039ade5e271;p=packages.git add libtool-fix git-svn-id: svn://svn.openwrt.org/openwrt/packages@13621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/Xorg/xorg/lib/libX11/Makefile b/Xorg/xorg/lib/libX11/Makefile index f6beceab2..7cac1fb85 100644 --- a/Xorg/xorg/lib/libX11/Makefile +++ b/Xorg/xorg/lib/libX11/Makefile @@ -18,6 +18,8 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/ PKG_BUILD_DEPENDS:=bigreqsproto xproto xextproto xcmiscproto xf86bigfontproto \ kbproto inputproto +PKG_FIXUP:=libtool + include $(INCLUDE_DIR)/package.mk define Package/libX11 @@ -36,12 +38,11 @@ define Build/Compile $(call $(PKG_NAME)/Compile) make -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install - find $(PKG_INSTALL_DIR) -name *.la | xargs rm -rf endef define Package/libX11/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so,a}* $(1)/usr/lib/ endef define Build/InstallDev