diff --git a/packaging/windows/mingw-make.sh b/packaging/windows/mingw-make.sh index e9a55ba3a..1c94ff963 100755 --- a/packaging/windows/mingw-make.sh +++ b/packaging/windows/mingw-make.sh @@ -29,7 +29,6 @@ if [[ $1 == "Qt5-64" ]] ; then QMAKE_MOC=/usr/x86_64-w64-mingw32/bin/qt5/moc \ QMAKE_UIC=/usr/x86_64-w64-mingw32/bin/qt5/uic \ QMAKE_RCC=/usr/x86_64-w64-mingw32/bin/qt5/rcc \ - LIBDCDEVEL=../libdivecomputer \ LIBMARBLEDEVEL=../marble \ LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \ QMAKE_LIBDIR+=../openssl \ @@ -68,7 +67,6 @@ else mingw32-qmake-qt4 \ CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw \ - LIBDCDEVEL=../libdivecomputer \ LIBMARBLEDEVEL=../marble \ LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \ $BASEDIR/../../subsurface.pro diff --git a/scripts/win-ldd.pl b/scripts/win-ldd.pl index 9a303d325..7870a13e3 100644 --- a/scripts/win-ldd.pl +++ b/scripts/win-ldd.pl @@ -51,7 +51,7 @@ for (@ARGV) { next if /^-/; if (-d $_) { push @searchdirs, $_; - } elsif (-f $_) { + } elsif (-f $_ && ! /\.a$/) { # Add $_'s path to the search list too my $dirname = $_; $dirname =~ s,/[^/]+$,,;