[packages] jpeg: package is not autoreconfigurable and ships broken libtool, fixup manually
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25654 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6405afe906
commit
92ed20c856
@ -52,9 +52,19 @@ HOST_CONFIGURE_ARGS += \
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
|
||||||
|
define Build/Prepare
|
||||||
|
$(call Build/Prepare/Default)
|
||||||
|
(cd $(PKG_BUILD_DIR); \
|
||||||
|
rm -f ltconfig ltmain.sh libtool; \
|
||||||
|
ln -s `which true` ltconfig; \
|
||||||
|
ln -s $(STAGING_DIR)/host/bin/libtool libtool; \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
$(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/{include,lib,bin,man/man1}
|
||||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||||
|
LIBTOOL="./libtool --tag=CC" \
|
||||||
prefix="$(PKG_INSTALL_DIR)/usr" \
|
prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
exec_prefix="$(PKG_INSTALL_DIR)/usr" \
|
||||||
all
|
all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user