Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-03-07 18:33:36 +0300
committerbubnikv <bubnikv@gmail.com>2017-03-07 18:33:36 +0300
commit109013bed73997fff52794660292db03b8188d64 (patch)
tree75ee65a3786481453652e8a67f61698966f675f4 /xs
parent32b042830359bdc4ae4cbe13c172e2e85f8b2a66 (diff)
Yet another fix of the static linking on Windows.
Diffstat (limited to 'xs')
-rw-r--r--xs/Build.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/Build.PL b/xs/Build.PL
index 4af05600e..5d2b84ccc 100644
--- a/xs/Build.PL
+++ b/xs/Build.PL
@@ -9,7 +9,7 @@ use Module::Build::WithXSpp;
my $cpp_guess = ExtUtils::CppGuess->new;
my $mswin = $^O eq 'MSWin32';
-my $lib_ext = $ENV{SLIC3R_STATIC} ? ($mswin ? '.lib' : '.a') : ${$cpp_guess}{config}{lib_ext};
+my $lib_ext = $ENV{SLIC3R_STATIC} ? ($cpp_guess->is_msvc ? '.lib' : '.a') : ${$cpp_guess}{config}{lib_ext};
# Library paths to search for boost, thread building blocks and such.
# On Windows, there is really no standard. On Unices, this is a bit better.