summaryrefslogtreecommitdiff
path: root/package/libtool
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
commit700589cd9b09c96be39ae9a39bb64ae93a5ece4b (patch)
tree315f91f178c33ddd4e4eb7fef7650d2b0eea4e23 /package/libtool
parent88a1c20900cf18fb024405de1d30df3282eb45b3 (diff)
downloadmtk-20170518-700589cd9b09c96be39ae9a39bb64ae93a5ece4b.zip
mtk-20170518-700589cd9b09c96be39ae9a39bb64ae93a5ece4b.tar.gz
mtk-20170518-700589cd9b09c96be39ae9a39bb64ae93a5ece4b.tar.bz2
libtool: don't install aclocal directory again if symlink into $(STAGING_DIR_HOST)/share/acloca exists aleady
SVN-Revision: 24470
Diffstat (limited to 'package/libtool')
-rw-r--r--package/libtool/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 5aa5aa3..4986f56 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