--- ./tools/ccopts.sh.orig	2024-10-05 01:25:46.000000000 -0400
+++ ./tools/ccopts.sh	2024-10-31 00:50:21.677475000 -0400
@@ -700,7 +700,7 @@
 if [ $SHARED -gt 0 ] ; then
 	case $OSNAME in
 		'Darwin')
-			CCARGS="$CCARGS -fPIC -fno-common" ;;
+			CCARGS="$CCARGS -fPIC -fno-common -mmacosx-version-min=%%MIN_MAC_OSX_VERSION%%" ;;
 
 		'CYGWIN_NT-5.0'|'CYGWIN_NT-5.1'|'CYGWIN_NT-6.1')
 			;;
