Skip to content

Commit 35106c6

Browse files
committed
Try to fix Windows build
1 parent ce047d7 commit 35106c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codecov.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ ignore:
99
- "ext/lexbor/lexbor/ports"
1010
- "ext/lexbor/lexbor/tag"
1111
- "ext/pcre/pcre2lib"
12-
- "ext/uri/uriparser/include"
13-
- "ext/uri/uriparser/src"
12+
- "ext/uri/uriparser"

ext/uri/config.w32

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ EXTENSION("uri", "php_uri.c", false /* never shared */, "/I ext/lexbor /I ext/ur
22

33
AC_DEFINE("URI_ENABLE_ANSI", 1, "Define to 1 for enabling ANSI support of uriparser.")
44
AC_DEFINE("URI_NO_UNICODE", 1, "Define to 1 for disabling unicode support of uriparser.")
5+
ADD_FLAG("CFLAGS_URI", "/D URI_LIBRARY_BUILD");
56

67
ADD_EXTENSION_DEP('uri', 'lexbor');
7-
ADD_SOURCES("ext/uri/uriparser/src", "UriCommon.c UriCompare.c UriEscape.c UriFile.c UriIp4.c UriIp4Base.c UriMemory.c UriNormalize.c UriNormalizeBase.c UriParse.c UriQuery.c UriRecompose.c UriShorten.c", "lexbor");
8+
ADD_SOURCES("ext/uri/uriparser/src", "UriCommon.c UriCompare.c UriEscape.c UriFile.c UriIp4.c UriIp4Base.c UriMemory.c UriNormalize.c UriNormalizeBase.c UriParse.c UriQuery.c UriRecompose.c UriShorten.c", "uri");
89
PHP_INSTALL_HEADERS("ext/uri", "php_uri.h uriparser/src uriparser/include");

0 commit comments

Comments
 (0)