-
-
Save wchristian/6c016d802b806923cd26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Makefile.PL | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
diff --git a/Makefile.PL b/Makefile.PL | |
index bf01745..5bc299e 100644 | |
--- a/Makefile.PL | |
+++ b/Makefile.PL | |
@@ -305,7 +305,7 @@ if (!defined $config{LIBS} || $config{LIBS} !~ /\-l(?:lib)?xml2\b/) { | |
$config_LIBS_alternatives = [ | |
map { "$l $_" } | |
q/ -lxml2 -lzlib/, | |
- q/ -llibxml2 -lzlib -llibgettextlib.dll/ | |
+ q/ -llibxml2 -lzlib / | |
]; | |
$config{LIBS} = $config_LIBS_alternatives->[-1]; | |
} | |
@@ -432,6 +432,8 @@ DEATH | |
} | |
} | |
+$config{LIBS} .= " -llibgettextlib.dll" if $is_Win32 and !$ENV{ACTIVEPERL_MINGW}; | |
+ | |
# -------------------------------------------------------------------------- # | |
# _NOW_ write the Makefile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment