Skip to content

Commit

Permalink
Fix so-names for SDL on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
o01eg committed Dec 25, 2024
1 parent 98fff57 commit adbdd85
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patches/sdl/0002-CMake-Remove-so-names.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 8504bfc72b52ea3a7161b098688a6fc70bf6713e Mon Sep 17 00:00:00 2001
From: O01eg <o01eg@yandex.ru>
Date: Wed, 25 Dec 2024 08:26:55 +0400
Subject: [PATCH] CMake: Remove so-names

---
CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a596eec..5a17493 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3291,8 +3291,7 @@ if(SDL_SHARED)
# FIXME: Remove SOVERSION in SDL3
set_target_properties(SDL2 PROPERTIES
MACOSX_RPATH 1
- SOVERSION 0
- OUTPUT_NAME "SDL2-${LT_RELEASE}")
+ OUTPUT_NAME "SDL2")
elseif(UNIX AND NOT ANDROID)
set_target_properties(SDL2 PROPERTIES
VERSION ${LT_VERSION}
--
2.45.2

0 comments on commit adbdd85

Please sign in to comment.