From f4ae5e1e4c276322c2b3811d0c63cb80d3419afb Mon Sep 17 00:00:00 2001 From: susanh Date: Thu, 15 Jun 2017 17:42:49 -0700 Subject: [PATCH] added MACOSX_DEPLOYMENT_TARGET to not use linker flat_namespace flag --- source/pdo_sqlsrv/config.m4 | 4 ++++ source/sqlsrv/config.m4 | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/source/pdo_sqlsrv/config.m4 b/source/pdo_sqlsrv/config.m4 index 2b310f92..328bbe6b 100644 --- a/source/pdo_sqlsrv/config.m4 +++ b/source/pdo_sqlsrv/config.m4 @@ -66,3 +66,7 @@ if test "$PHP_PDO_SQLSRV" != "no"; then PHP_ADD_BUILD_DIR([$ext_builddir/shared], 1) fi +#if (defined __APPLE__ && defined __MACH__) \ + MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion` \ +#endif + diff --git a/source/sqlsrv/config.m4 b/source/sqlsrv/config.m4 index 255470d4..ebf62d7f 100644 --- a/source/sqlsrv/config.m4 +++ b/source/sqlsrv/config.m4 @@ -40,3 +40,8 @@ if test "$PHP_SQLSRV" != "no"; then PHP_NEW_EXTENSION(sqlsrv, $sqlsrv_src_class $shared_src_class, $ext_shared,,-std=c++11) PHP_ADD_BUILD_DIR([$ext_builddir/shared], 1) fi + +#if (defined __APPLE__ && defined __MACH__) \ + MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion` \ +#endif +