diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-04 13:44:43 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-04 13:44:43 +0000 |
commit | d81f7fdb94adb9ab1241e6c558a5993cc53ccb2f (patch) | |
tree | 230e640b605e7c024f3138ec845913ff4a725fc5 | |
parent | eacbaf7ca0fc16e2cc873393cc5bef72ab8509ef (diff) |
[trunk/include/autotools.mk] ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/autotools.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk index 7e251ead5..20227474c 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 |