Browse Source

libtool: Changed it's global integration to remove .la file after every cross-compilation

cross
Alejandro Mery 17 years ago
parent
commit
24bd73f31a
  1. 10
      base/libtool/parse-config

10
base/libtool/parse-config

@ -13,6 +13,12 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
libtool_remove_la()
{
echo "Removing .la files..."
grep '\.la$' $builddir/flist.txt | xargs rm -fv "$root/{}"
}
# Some packges have outdated libtool that e.g. does not handle lib64. The # Some packges have outdated libtool that e.g. does not handle lib64. The
# LIBTOOL-QUIRK flag allows automated updating of those files. # LIBTOOL-QUIRK flag allows automated updating of those files.
@ -108,3 +114,7 @@ if ! hasflag NO-LIBTOOL-FIX; then
#hook_add premake 7 libtool_final_check #hook_add premake 7 libtool_final_check
fi fi
if ! atstage native; then
hook_add postflist 5 libtool_remove_la
fi

Loading…
Cancel
Save