summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-25 20:50:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-25 20:50:14 -0700
commit28800622f00b07724b3395eacc49f1ee87b42d08 (patch)
treec6b92ab8c7be31bfd2a3a80289761286e0b3299f /scripts
parent84fdbefb58c744d0f851769e41f2d0e2c572c000 (diff)
downloadsubsurface-28800622f00b07724b3395eacc49f1ee87b42d08.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/win-ldd.pl2
1 files changed, 1 insertions, 1 deletions
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,/[^/]+$,,;