-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Commit 670bbdb
Include from build dir first
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)/TSRM1 parent 718a8b4 commit 670bbdb
2 files changed
+6
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
6 | - | ||
5 | + | ||
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1349 | 1349 |
| |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 | + | ||
1352 | 1353 |
| |
1353 | 1354 |
| |
1354 | 1355 |
| |
1355 | 1356 |
| |
1356 | - | ||
1357 | - | ||
1357 | + | ||
1358 | + | ||
1359 | + | ||
1358 | 1360 |
| |
1359 | 1361 |
| |
1360 | 1362 |
| |
| |||
1540 | 1542 |
| |
1541 | 1543 |
| |
1542 | 1544 |
| |
1545 | + | ||
1543 | 1546 |
| |
1544 | 1547 |
| |
1545 | 1548 |
| |
|
0 commit comments