Kaynağa Gözat

fixed OCI support

Christoph Schug 23 yıl önce
ebeveyn
işleme
9831625f1e
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      php/php.spec

+ 4 - 0
php/php.spec

@@ -164,6 +164,10 @@ AutoReqProv:  no
     cflags="$cflags -I%{l_prefix}/include"
     ldflags="$ldflags -L%{l_prefix}/lib"
     libs="$libs -lndbm -lgdbm"
+%endif
+%if "%{with_oci7}" == "yes" || "%{with_oci8}" == "yes"
+      ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
+      export ORACLE_HOME
 %endif
     CC="%{l_cc}" \
     CFLAGS="$cflags" \