Skip to content

Commit 884aff3

Browse files
committed
- MFH: use static lib first if found
1 parent 6c45fce commit 884aff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gettext/config.w32

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
ARG_WITH("gettext", "gettext support", "no");
55

66
if (PHP_GETTEXT != "no") {
7-
if (CHECK_LIB("libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
7+
if (CHECK_LIB("libintl_a.lib;libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
88
EXTENSION("gettext", "gettext.c", PHP_GETTEXT_SHARED, "-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_DNGETTEXT=1 -DHAVE_NGETTEXT=1 -DHAVE_LIBINTL=1 -DHAVE_DCNGETTEXT=1");
99
} else {
1010
WARNING("gettext not enabled; libraries and headers not found");

0 commit comments

Comments
 (0)