Commit:    943e4c489478c1e52e19ad9951b2797b7cda90dd
Author:    Anatol Belski <[email protected]>         Sun, 1 Sep 2013 18:58:35 +0200
Parents:   f78df3fb7390ba6dd2a5bdeb602388f0fe77086a
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=943e4c489478c1e52e19ad9951b2797b7cda90dd

Log:
fixed ext configure options building

Changed paths:
  M  client/include/PeclExt.php


Diff:
diff --git a/client/include/PeclExt.php b/client/include/PeclExt.php
index a077ae0..43eea6e 100644
--- a/client/include/PeclExt.php
+++ b/client/include/PeclExt.php
@@ -171,6 +171,8 @@ class PeclExt
                                $ret .= ' "--with-extra-libs=' . implode(';', 
$extra_lib) . '" '
                                        . ' "--with-extra-includes=' . 
implode(';', $extra_inc) . '" ';
                        }
+               } else {
+                       $data['libs'] = array();
                }
 
                if (isset($data['opts']) && $data['opts']) {
@@ -181,10 +183,14 @@ class PeclExt
                                        $ret .= ' "' . $opt . '" ';
                                }
                        }
+               } else {
+                       $data['opts'] = array();
                }
 
                if (isset($data['exts']) && $data['exts']) {
                        /* TODO */
+               } else {
+                       $data['exts'] = array();
                }
 
                $this->configure_data = $data;


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to