Files
termux-packages/packages/supercollider/do-not-touch-libdl-static-stub.patch
termux-pacman-bot 514919fa2e fix(main/supercollider): do not use libdl.a stub
- Causes `supercollider` to not use `libdl.a`
2025-09-20 20:05:12 +00:00

24 lines
823 B
Diff

Causes supercollider to not use the statc stub of libdl,
to work around https://github.com/termux/termux-packages/issues/26478
--- a/server/scsynth/CMakeLists.txt
+++ b/server/scsynth/CMakeLists.txt
@@ -176,7 +176,6 @@ target_compile_definitions(libscsynth PUBLIC SC_MEMORY_ALIGNMENT=32)
target_link_libraries(libscsynth tlsf Boost::sync)
-find_library(DL NAMES dl)
if(DL)
target_link_libraries(libscsynth ${DL})
endif()
--- a/server/supernova/CMakeLists.txt
+++ b/server/supernova/CMakeLists.txt
@@ -115,7 +115,6 @@ endif()
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly|OpenBSD|NetBSD")
target_compile_definitions(libsupernova PUBLIC DLOPEN)
else()
- find_library(DL NAMES dl)
if(DL)
target_compile_definitions(libsupernova PUBLIC DLOPEN)
target_link_libraries(libsupernova ${DL})