com web/rmtools: fixed ext configure options building: client/include/PeclExt.php

From: Date: Sun, 01 Sep 2013 16:58:35 +0000
Subject: com web/rmtools: fixed ext configure options building: client/include/PeclExt.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-16715@lists.php.net to get a copy of this message
Commit: 943e4c489478c1e52e19ad9951b2797b7cda90dd Author: Anatol Belski <ab@php.net> 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;

« previous php.webmaster (#16715) next »