aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-11 01:26:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-11 01:26:34 +0000
commit60c100f3a1574d43dab80c6e9e84eccbe8505600 (patch)
tree994e663f9f2de3a1cb55295f72e74d5d15509ca6
parentefeae2d23368f2d574b09c8f65d48165b3fe2a89 (diff)
downloadmaster-187ad058-60c100f3a1574d43dab80c6e9e84eccbe8505600.tar.gz
master-187ad058-60c100f3a1574d43dab80c6e9e84eccbe8505600.tar.bz2
master-187ad058-60c100f3a1574d43dab80c6e9e84eccbe8505600.zip
[package] libtool: don't install aclocal directory again if symlink into $(STAGING_DIR_HOST)/share/acloca exists aleady
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24470 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libtool/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 5aa5aa3652..4986f5614e 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -48,6 +48,8 @@ define Build/InstallDev
$(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool
$(CP) $(2)/bin/libtool $(2)/bin/libtool-ucxx
$(SED) 's,-lstdc++,-luClibc++,g' $(2)/bin/libtool-ucxx
+ [ -h $(STAGING_DIR)/host/share/aclocal ] && \
+ rm -rf $(TMP_DIR)/stage-$(PKG_NAME)/host/share/aclocal || true
endef
define Package/libltdl/install