Am Dienstag 24 Oktober 2023 um 13:03:16 +0000, schrieb Victor Lazzarini 7,9K: > You need -dynamiclib for all dylibs (including plugins) and have to name them with .dylib extension. I had a quick try with: - - - - - - - - - - %< - - - - - - - - - - $NetBSD$ --- Custom.cmake.ex.orig 2022-11-23 19:53:55.000000000 +0000 +++ Custom.cmake.ex @@ -6,6 +6,7 @@ set(CMAKE_VERBOSE_MAKEFILE ON) set(BUILD_STATIC_LIBRARY ON) set(TCL_VERSION 8.5) set(PYTHON_INCLUDE_DIRS "/usr/include/python2.7") +set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names") #### NOTE the processor type needs setting #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2") - - - - - - - - - - %< - - - - - - - - - - But no luck - somehow cmake falls back to "-bundle", at least the cmake, installed via pkgsrc. I guess we are on the right track - but if it's related to pkgsrc's cmake or the invocation of cmake is beyond my knowledge... FWIW: I'm not the first one to stumble upon this problem: * https://www.wireshark.org/lists/wireshark-dev/201009/msg00231.html * https://trac.macports.org/ticket/44232 * https://public.kitware.com/Bug/view.php?id=15126 Kind regards. Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here