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 | 69e429d206d6cd962dfecf0f1d00e002fad251c6 (patch) | |
tree | 5893ade9ff3a9c3419177aaadad7d3310d2c8fe4 /php55.spec | |
parent | b7961ec62d0f275d615912901d01dab0a36153ca (diff) |
PHP 5.5 + 5.6, fix build with gd 2.2
Diffstat (limited to 'php55.spec')
-rw-r--r-- | php55.spec | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1154,9 +1154,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 \ @@ -1202,6 +1199,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 \ @@ -1349,6 +1349,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 \ |