From a6c734b9581dba3e5e2f3ccf31bb500963b665c2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 8 Feb 2025 10:03:08 -0800
Subject: [PATCH] Revert "apply missed version update"
This reverts commit d6f1835532f84d26b388bcba523be459a2a93a81.
This was an intentional change to match the correct compatibility version on macOS
For example, 2.32.1 would have the following:
/usr/local/lib/libSDL2-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.1.0)
---
src/Makefile.darwin | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.darwin b/src/Makefile.darwin
index 5c74e2a..b914454 100644
--- a/src/Makefile.darwin
+++ b/src/Makefile.darwin
@@ -20,7 +20,7 @@ CFLAGS = -fPIC -fvisibility=hidden -O3 -Wall
LDFLAGS = -dynamiclib -Wl,-undefined,error -Wl,-single_module
#LDFLAGS+= -Wl,-headerpad_max_install_names
LDFLAGS+= -Wl,-install_name,"/usr/local/lib/$(DYLIB)"
-LDFLAGS+= -Wl,-compatibility_version,3201.50 -Wl,-current_version,3201.50
+LDFLAGS+= -Wl,-compatibility_version,3201.0 -Wl,-current_version,3201.50
LDLIBS = -Wl,-framework,AppKit
# this is needed for x86_64 - cross-gcc might not add it.
#LDLIBS += -Wl,-lbundle1.o