From d43ea1820f1228bc6307322b17000a35d8a3faad Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 29 May 2016 11:11:49 +0200 Subject: PHP 5.5 + 5.6, fix build with gd 2.2 --- php56.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php56.spec b/php56.spec index 3b85d1f..a205e39 100644 --- a/php56.spec +++ b/php56.spec @@ -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 \ -- cgit