Remove .la files after installing libraries, to fix Windows

cross-compile.

Subversion-branch: /buildscripts
Subversion-revision: 2521
This commit is contained in:
Simon Howard 2012-09-20 18:47:00 +00:00
parent 83df610728
commit f48d71516b

View file

@ -175,6 +175,11 @@ build_module() {
echo $INSTALL_MESSAGE
$INSTALL_COMMAND make install || exit
# Remove any libtool .la files that were installed by the build - they
# aren't needed and can cause build problems with dependency ordering
# when cross-compiling to MingW.
rm -f $INSTALL_DIR/lib/*.la
echo Build complete.
echo
}