Skip to content

Commit 381e1f7

Browse files
authored
Merge pull request #13 from crazywhalecc/patch-1
Allow building xz statically on Windows
2 parents 08a3dd1 + 5e7e7e3 commit 381e1f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (PHP_XZ != 'no') {
99
){
1010
AC_DEFINE('HAVE_XZ', 1, 'xz support enabled');
1111

12-
EXTENSION('xz', 'xz.c xz_fopen_wrapper.c utils.c', true, '/D LZMA_API_STATIC /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
12+
EXTENSION('xz', 'xz.c xz_fopen_wrapper.c utils.c', PHP_XZ_SHARED, '/D LZMA_API_STATIC /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
1313
}
1414
else{
1515
WARNING('xz not enabled; libraries and headers not found');

0 commit comments

Comments
 (0)