We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21d3662 + 2d79789 commit a70b638Copy full SHA for a70b638
cmake/ext/exif/CMakeLists.txt
@@ -34,3 +34,13 @@ target_sources(
34
)
35
36
target_compile_definitions(php_exif PRIVATE ZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
37
+
38
+# Exif extension optionally depends on the mbstring extension when decoding
39
+# multibyte data in EXIF tags.
40
+# See: https://www.php.net/manual/en/exif.requirements.php
41
+# TODO: Inconsistent behavior between Windows and other systems. Does Windows
42
+# really need this extension always enabled or is it optional? C code doesn't
43
+# have this condition reflected properly.
44
+if(EXT_MBSTRING)
45
+ add_dependencies(php_exif php_mbstring)
46
+endif()
0 commit comments