[php-src] PR #13516: Include from build dir first

From: Date: Mon, 26 Feb 2024 14:12:43 +0000
Subject: [php-src] PR #13516: Include from build dir first
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25144@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13516 Author: arnaud-lb This fixes out of tree builds by ensuring that configure artifacts are included from the build dir. Before, out of tree builds would preferably include files from the src dir, as the include path was defined as follows (ignoring includes from ext/ and sapi/) : -I$(top_builddir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/main -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM -I$(top_builddir)/ As a result, an out of tree build would include configure artifacts such as main/php_config.h from the src dir. After this change, the include path is defined as follows: -I$(top_builddir)/main -I$(top_builddir) -I$(top_srcdir)/main -I$(top_srcdir) -I$(top_builddir)/TSRM -I$(top_builddir)/Zend -I$(top_srcdir)/Zend -I$(top_srcdir)/TSRM

« previous php.git-pulls (#25144) next »