Skip to content

Commit aa243ca

Browse files
committed
Add also <config.h> that will be generated when using extension standalone build
1 parent 1c81fde commit aa243ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/ext/mbstring/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ add_subdirectory(libmbfl EXCLUDE_FROM_ALL)
110110
target_link_libraries(php_mbstring PRIVATE ${LIBMBFL_NAMESPACE})
111111

112112
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/libmbfl/config.h "\n" [[
113+
#ifdef HAVE_CONFIG_H
114+
# include <config.h>
115+
#endif
113116
#ifdef _WIN32
114117
# define HAVE_STRICMP 1
115118
# include <config.w32.h>

0 commit comments

Comments
 (0)