diff options
-rw-r--r-- | php.spec | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -567,7 +567,7 @@ License: PHP Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release} Provides: %{?scl_prefix}php_database Provides: %{?scl_prefix}php-pdo_odbc, %{?scl_prefix}php-pdo_odbc%{?_isa} -BuildRequires: unixODBC-devel +BuildRequires: pkgconfig(odbc) %description odbc The %{?scl_prefix}php-odbc package contains a dynamic shared object that will add @@ -1289,7 +1289,7 @@ build --libdir=%{_libdir}/php \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-shmop=shared \ --enable-posix=shared \ - --with-unixODBC=shared,%{_root_prefix} \ + --with-unixODBC=shared \ --enable-intl=shared \ %if %{with_enchant} --with-enchant=shared \ |