diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-05-29 11:11:49 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-05-29 11:11:49 +0200 |
commit | d43ea1820f1228bc6307322b17000a35d8a3faad (patch) | |
tree | 11e85a7c31c54508ff243c6d6f7081d4e2aacbda | |
parent | 6e02ac7328d8e22c3f4bbe03dbad96da8744c7bb (diff) |
PHP 5.5 + 5.6, fix build with gd 2.2
-rw-r--r-- | php56.spec | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1153,9 +1153,6 @@ ln -sf ../configure --with-freetype-dir=%{_prefix} \ --with-png-dir=%{_prefix} \ --with-xpm-dir=%{_prefix} \ -%if %{with_vpx} - --with-vpx-dir=%{_prefix} \ -%endif --enable-gd-native-ttf \ --with-t1lib=%{_prefix} \ --without-gdbm \ @@ -1203,6 +1200,9 @@ build --libdir=%{_libdir}/php \ --with-gd=shared,%{_prefix} \ %else --with-gd=shared \ +%if %{with_vpx} + --with-vpx-dir=%{_prefix} \ +%endif %endif --with-gmp=shared \ --enable-calendar=shared \ @@ -1345,6 +1345,9 @@ build --includedir=%{_includedir}/php-zts \ --with-gd=shared,%{_prefix} \ %else --with-gd=shared \ +%if %{with_vpx} + --with-vpx-dir=%{_prefix} \ +%endif %endif --with-gmp=shared \ --enable-calendar=shared \ |