From: Jo-Philipp Wich Date: Sat, 11 Dec 2010 01:26:34 +0000 (+0000) Subject: libtool: don't install aclocal directory again if symlink into $(STAGING_DIR_HOST... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=700589cd9b09c96be39ae9a39bb64ae93a5ece4b;p=openwrt%2Fstaging%2Fneocturne.git libtool: don't install aclocal directory again if symlink into $(STAGING_DIR_HOST)/share/acloca exists aleady SVN-Revision: 24470 --- 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