fix packager stub includes
authorMichael Wallner <mike@php.net>
Fri, 4 Sep 2015 08:22:22 +0000 (10:22 +0200)
committerMichael Wallner <mike@php.net>
Fri, 4 Sep 2015 08:22:22 +0000 (10:22 +0200)
bin/pecl

index 36c4229fed9be091f4ba451186c65d8d4076936e..296c8036c5f1753c070ea98c16b64adf355132b0 100755 (executable)
--- a/bin/pecl
+++ b/bin/pecl
@@ -4,6 +4,9 @@
 ini_set("display_errors", 0);
 ini_set("log_errors", 1);
 
+/* needed for the packager, so the pharstub task can find includes */
+set_include_path(__DIR__."/../vendor/m6w6/pharext/src:".get_include_path());
+
 $what = !empty($argv[1]) ? $argv[1] : "latest";
 $pids = [];