[packages/php/PHP_5_6: 2/4] mysqlnd link hack

glen glen at pld-linux.org
Fri Oct 17 14:45:59 CEST 2014


commit 5467be0e3da56ec3577ba8a14c136972f5e70a0a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 17 15:44:08 2014 +0300

    mysqlnd link hack

 php.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 0387c4e..277aa8b 100644
--- a/php.spec
+++ b/php.spec
@@ -2433,7 +2433,9 @@ sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '
 cp -af php_config.h.cli main/php_config.h
 cp -af Makefile.cli Makefile
 %{__make} libphp_common.la
-%{__make} build-modules
+# hack: MYSQLND_SHARED_LIBADD not initialized
+%{__make} build-modules \
+	MYSQLND_SHARED_LIBADD="-lssl -lcrypto"
 
 %if %{with apache1}
 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/7b45fed83b037d5811d2308a8fabdd6f346b4982



More information about the pld-cvs-commit mailing list