Skip to content

Commit 437caa2

Browse files
committed
fix: add missing include paths for brotli encoder and decoder directories
1 parent 3150cd5 commit 437caa2

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
@@ -16,7 +16,7 @@ if (PHP_BROTLI != "no") {
1616
ADD_SOURCES("brotli/c/enc", "backward_references.c backward_references_hq.c bit_cost.c block_splitter.c brotli_bit_stream.c cluster.c command.c compound_dictionary.c compress_fragment.c compress_fragment_two_pass.c dictionary_hash.c encode.c encoder_dict.c entropy_encode.c fast_log.c histogram.c literal_cost.c memory.c metablock.c static_dict.c static_dict_lut.c static_init.c utf8_util.c", "brotli");
1717
ADD_SOURCES("brotli/c/dec", "bit_reader.c decode.c huffman.c prefix.c state.c static_init.c", "brotli");
1818

19-
ADD_FLAG("CFLAGS_BROTLI", " /I" + configure_module_dirname + " /I" + configure_module_dirname + "/brotli/c/include");
19+
ADD_FLAG("CFLAGS_BROTLI", " /I" + configure_module_dirname + " /I" + configure_module_dirname + "/brotli/c/include" + " /I" + configure_module_dirname + "/brotli/c/enc" + " /I" + configure_module_dirname + "/brotli/c/dec");
2020

2121
AC_DEFINE('USE_BROTLI_BUNDLED', 1, 'use bundled');
2222
AC_DEFINE('USE_BROTLI_DICTIONARY', 1, 'use dictionary support');

0 commit comments

Comments
 (0)