mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Minor changes to Windows build and packaging
With these changes we link statically against libusb and libdivecomputer but don't add the .a files to our installers. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
84fdbefb58
commit
28800622f0
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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,/[^/]+$,,;
|
||||
|
|
Loading…
Reference in a new issue