فهرست منبع

workaround Oracle inter-library depencency by explicitly linking in all libraries

Ralf S. Engelschall 22 سال پیش
والد
کامیت
0839e12dc2
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      apache/apache.spec

+ 5 - 1
apache/apache.spec

@@ -62,7 +62,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20031229
+Release:      20031231
 
 #   package options (suexec related)
 %option       with_suexec               yes
@@ -908,6 +908,10 @@ AutoReqProv:  no
       ldflags="$ldflags %{l_ldflags}"
       libs="$libs -lndbm -lgdbm"
 %endif
+%if "%{with_mod_php_oci7}" == "yes" || "%{with_mod_php_oci8}" == "yes"
+      #   workaround Oracle inter-library depencency by explicitly linking in all libraries
+      libs="$libs `%{l_prefix}/etc/rc --query oracle_libs`"
+%endif
 %if "%{with_suphp}" == "yes"
       cflags="$cflags -DPATH_TO_SUPHP='\"%{l_prefix}/sbin/suphp\"'"
 %endif