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 +