summaryrefslogtreecommitdiff
path: root/build/genif.sh
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-11-02 23:25:49 +0100
committerBob Weinand <bobwei9@hotmail.com>2015-08-21 00:13:02 +0200
commit82b73fd1e3c53228bb31b75a446114b5fd0cd240 (patch)
tree541b54210a2c903f38478f06760b1766a2170454 /build/genif.sh
parenta3eed5fbfe24368726906f425b15ce40b5fc36e0 (diff)
downloadphp-git-82b73fd1e3c53228bb31b75a446114b5fd0cd240.tar.gz
Remove assumption that extensions are in ext/ext-name
Fixes also a weird ln (symlink) hack for phpdbg
Diffstat (limited to 'build/genif.sh')
-rw-r--r--build/genif.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/genif.sh b/build/genif.sh
index 14e19b7d9a..2ca2e6de7c 100644
--- a/build/genif.sh
+++ b/build/genif.sh
@@ -24,7 +24,8 @@ cd $srcdir
module_ptrs="$extra_module_ptrs`echo $@ | $awk -f ./build/order_by_dep.awk`"
for ext in ${1+"$@"} ; do
- header_list="$header_list ext/$ext/*.h*"
+ ext_dir="$( cut -d ';' -f 2 <<< "$ext" )"
+ header_list="$header_list $ext_dir/*.h*"
done
includes=`$awk -f ./build/print_include.awk $header_list`