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:
Dirk Hohndel 2014-09-25 20:50:14 -07:00
parent 84fdbefb58
commit 28800622f0
2 changed files with 1 additions and 3 deletions

View file

@ -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,/[^/]+$,,;