mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add pcre as a configure step dependency to fileinfo (#15349)
The pcre is a required dependency in fileinfo extenstion. This marks it as a configure step dependency for consistency with other extensions and to have extensions properly sorted in the generated internal_functions* files.
This commit is contained in:
@@ -41,6 +41,7 @@ if test "$PHP_FILEINFO" != "no"; then
|
||||
[$ext_shared],,
|
||||
[-I@ext_srcdir@/libmagic])
|
||||
PHP_ADD_BUILD_DIR([$ext_builddir/libmagic])
|
||||
PHP_ADD_EXTENSION_DEP(fileinfo, pcre)
|
||||
|
||||
AC_CHECK_FUNCS([utimes strndup])
|
||||
|
||||
|
||||
@@ -11,5 +11,6 @@ if (PHP_FILEINFO != 'no') {
|
||||
strcasestr.c buffer.c is_csv.c";
|
||||
|
||||
EXTENSION('fileinfo', 'fileinfo.c php_libmagic.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname);
|
||||
ADD_EXTENSION_DEP('fileinfo', 'pcre');
|
||||
ADD_SOURCES(configure_module_dirname + '\\libmagic', LIBMAGIC_SOURCES, "fileinfo");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user