Skip to content

Commit 7fe419a

Browse files
committed
Fix Windows build.
1 parent 04e5cd5 commit 7fe419a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

premake4.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ function build_eepp( build_name )
952952
"src/thirdparty/pcre2/src"
953953
}
954954

955-
defines { "PCRE2_CODE_UNIT_WIDTH=8" }
955+
defines { "PCRE2_STATIC", "PCRE2_CODE_UNIT_WIDTH=8" }
956956

957957
if not _OPTIONS["without-mojoal"] then
958958
defines( "AL_LIBTYPE_STATIC" )

premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ function build_eepp( build_name )
713713
add_static_links()
714714
check_ssl_support()
715715

716-
defines { "PCRE2_CODE_UNIT_WIDTH=8" }
716+
defines { "PCRE2_STATIC", "PCRE2_CODE_UNIT_WIDTH=8" }
717717

718718
if table.contains( backends, "SDL2" ) then
719719
files { "src/eepp/window/backend/SDL2/*.cpp" }

0 commit comments

Comments
 (0)