summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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