[packages/jpeg] adjust Makefile to not workaround weird libtool issues anymore

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24256 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2010-12-04 22:04:34 +00:00
parent f3329a2c42
commit 2ebb6c73c4

View File

@ -52,20 +52,9 @@ HOST_CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
define Build/Prepare
$(call Build/Prepare/Default)
# replace the old upstream libtool stuff with our own
ln -sf $(STAGING_DIR)/host/bin/libtool $(PKG_BUILD_DIR)/
ln -sf $(STAGING_DIR)/host/share/libtool/config.sub $(PKG_BUILD_DIR)/
ln -sf $(STAGING_DIR)/host/share/libtool/config.guess $(PKG_BUILD_DIR)/
ln -sf $(STAGING_DIR)/host/share/libtool/ltmain.sh $(PKG_BUILD_DIR)/
ln -sf /bin/true $(PKG_BUILD_DIR)/ltconfig
endef
define Build/Compile
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
LIBTOOL="./libtool --tag=CC" \
prefix="$(PKG_INSTALL_DIR)/usr" \
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
all install install-headers install-lib