From 55388a3d927791190be2a3d05de080210f0a9799 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 Sep 2021 17:27:14 +0200 Subject: fix F35 build adding libresolv to linked libraries --- 0001-link-with-libresolv-for-ns_parserr.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 0001-link-with-libresolv-for-ns_parserr.patch (limited to '0001-link-with-libresolv-for-ns_parserr.patch') diff --git a/0001-link-with-libresolv-for-ns_parserr.patch b/0001-link-with-libresolv-for-ns_parserr.patch new file mode 100644 index 0000000..05e161b --- /dev/null +++ b/0001-link-with-libresolv-for-ns_parserr.patch @@ -0,0 +1,24 @@ +From edcb19e0f996a505025b4b4821db4e4b3e249220 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 30 Sep 2021 16:48:48 +0200 +Subject: [PATCH] link with libresolv for ns_parserr + +--- + config.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/config.m4 b/config.m4 +index e96b9703..d40844f6 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -439,6 +439,7 @@ if test "$PHP_MYSQL_XDEVAPI" != "no" || test "$PHP_MYSQL_XDEVAPI_ENABLED" == "ye + fi + AC_MSG_RESULT($MYSQL_XDEVAPI_PROTOBUF_INCLUDES) + ++ PHP_CHECK_LIBRARY(resolv, ns_parserr, [PHP_ADD_LIBRARY(resolv, 1, MYSQL_XDEVAPI_SHARED_LIBADD)]) + + dnl compressors + MYSQL_XDEVAPI_RESOLVE_COMPRESSOR("$PHP_LZ4", "lz4", "lz4", "LZ4F_createCompressionContext", "lz4.h", "MYSQL_XDEVAPI_HAVE_LZ4", IS_LZ4_ENABLED) +-- +2.31.1 + -- cgit