[trunk/include/autotools.mk] ensure accidentally installed *.la-files (into $STAGING_...
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Dec 2010 13:44:43 +0000 (13:44 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Dec 2010 13:44:43 +0000 (13:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/autotools.mk

index 7e251ea..2022747 100644 (file)
@@ -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
This page took 0.02726 seconds and 4 git commands to generate.