aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/autotools.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 7e251ead53..20227474cb 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -49,6 +49,14 @@ define remove_version_check
fi
endef
+# delete *.la-files from staging_dir - we can not yet remove respective lines within all package
+# Makefiles, since backfire still uses libtool v1.5.x which (may) require those files
+define libtool_remove_files
+ find $(1) -name '*.la' | $(XARGS) rm -f
+endef
+
+Hooks/InstallDev/Post += libtool_remove_files
+
# XXX the libtool fixups got deactivated in the course of switching to libtool2 in trunk XXX
# ifneq ($(filter libtool,$(PKG_FIXUP)),)
# PKG_BUILD_DEPENDS += libtool