[PATCH] Make *nix build system more similar to Windows
| From: | Bob Weinand | Date: | Tue, 04 Nov 2014 14:07:08 +0000 |
| Subject: | [PATCH] Make *nix build system more similar to Windows | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-78639@lists.php.net to get a copy of this message | ||
Currently under *nix, the build system uses a hardcoded location where the extension is:
/ext/ext-name.
Windows is just looking at where the the current config.w32 file is, takes the directory it is in
and handles it like the root of the extension. Just simple, no hardcoded paths, just depending on
the location of the extension.
The patch is at:
https://github.com/bwoebi/php-src/compare/soft_ext_dir
<https://github.com/bwoebi/php-src/compare/soft_ext_dir>
Also fixes the weird symlink hack we needed under *nix for phpdbg webhelper (and Windows just was
doing fine…)
As this is a build system change, it’d be happy if some could review it.
I and Remi already tested:
- OS X
- RHEL 5
- CentOS 5
Probably, there are no issues left, but before I eventually break all builds on some specific
system, could you please verify it?
If no issues pop up in the next 3 days, I’ll just push it.
Thanks,
Bob