diff --git a/build-chocolate-doom b/build-chocolate-doom index 47b9d57..5b03954 100644 --- a/build-chocolate-doom +++ b/build-chocolate-doom @@ -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 }