Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Jul 14, 2024

This syncs global include flags (-I) for adding php-src, main, Zend, and TSRM. Redundant 'ext' include flag on Windows is removed because Autotools in php-src has already never included it. The 'ext' include flag is only added in phpize builds for BC.

The order of include flags is not important except that build directories are included before their source directory counterparts.

The 'main' in Autotools is (still) prepended as first so compiler doesn't accidentally pick some unrelated
'/../main/php_config.h' due to the <../main/php_config.h> in 'zend_config.h' file.

This syncs global include flags (-I) for adding php-src, main, Zend, and
TSRM. Redundant 'ext' include flag on Windows is removed because
Autotools in php-src has already never included it. The 'ext' include
flag is only added in phpize builds for BC.

The order of include flags is not important except that build
directories are included before their source directory counterparts.

The 'main' in Autotools is (still) prepended as first so compiler
doesn't accidentally pick some unrelated
'<build-dir>/../main/php_config.h' due to the <../main/php_config.h> in
'zend_config.h' file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant