From f27d07499672ad3fd7056b4758b0cc0b44ceae39 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 21 Oct 2021 12:13:36 +0200 Subject: [PATCH] Fix shared pdo_dblib build As pointed out by remi in: https://github.com/php/php-src/commit/47fe4125189833e80eac8c09f7d1cf83b10aeb0d#r58428167 --- ext/pdo_dblib/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_dblib/config.m4 b/ext/pdo_dblib/config.m4 index 4160cd9596f..289eeb7c313 100644 --- a/ext/pdo_dblib/config.m4 +++ b/ext/pdo_dblib/config.m4 @@ -16,7 +16,7 @@ if test "$PHP_PDO_DBLIB" != "no"; then [],[ AC_MSG_ERROR([Cannot find FreeTDS in known installation directories]) ]) - PHP_ADD_LIBRARY(sybdb,,GMP_SHARED_LIBADD) + PHP_ADD_LIBRARY(sybdb,,PDO_DBLIB_SHARED_LIBADD) elif test "$PHP_PDO_DBLIB" != "no"; then if test -f $PHP_PDO_DBLIB/include/sybdb.h; then