summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-11 01:26:34 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-11 01:26:34 +0000
commit99a212a2565ed4c256d86645d14ff7064f284f2d (patch)
tree994e663f9f2de3a1cb55295f72e74d5d15509ca6 /package
parent2152d4b564f39f0d28b77863cc91aed221331294 (diff)
[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
Diffstat (limited to 'package')
-rw-r--r--package/libtool/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 5aa5aa365..4986f5614 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