From dc40332bb2276553ea10bca574f03a8dc9bea53d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Sep 2019 13:30:13 +0200 Subject: [PATCH] Fixed bug #78574 (broken shared build) --- NEWS | 3 +++ ext/gmp/config.m4 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 106cb28f3ea..1a1e3e43d51 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,9 @@ PHP NEWS - FFI: . Fixed bug #78543 (is_callable() on FFI\CData throws Exception). (cmb) +- GMP: + . Fixed bug #78574 (broken shared build). (Remi) + 19 Sep 2019, PHP 7.4.0RC2 - Core: diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4 index aa4936b3c32..fa55751cf16 100644 --- a/ext/gmp/config.m4 +++ b/ext/gmp/config.m4 @@ -10,7 +10,7 @@ if test "$PHP_GMP" != "no"; then AC_MSG_ERROR([GNU MP Library version 4.2 or greater required.]) ]) - PHP_ADD_LIBRARY(gmp, GMP_SHARED_LIBADD) + PHP_ADD_LIBRARY(gmp,,GMP_SHARED_LIBADD) else if test ! -f $PHP_GMP/include/gmp.h; then AC_MSG_ERROR(Unable to locate gmp.h)