use -dynamiclib flag to build a dylib on macos

Fri, 07 Nov 2025 11:06:58 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 07 Nov 2025 11:06:58 +0100
changeset 620
a202cb1ee175
parent 619
4e2bac64c950
child 621
956c03c25edd

use -dynamiclib flag to build a dylib on macos

configure file | annotate | diff | comparison | revisions
make/project.xml file | annotate | diff | comparison | revisions
--- a/configure	Fri Oct 31 21:31:02 2025 +0100
+++ b/configure	Fri Nov 07 11:06:58 2025 +0100
@@ -505,6 +505,7 @@
 APP_EXT =
 
 # ld flags
+SHLIB_LDFLAGS = -dynamiclib
 UCX_SO_NAME = -install_name @rpath/libucx.dylib
 RPATH_WS_LIB_FLAG = -rpath @loader_path/../lib
 __EOF__
--- a/make/project.xml	Fri Oct 31 21:31:02 2025 +0100
+++ b/make/project.xml	Fri Nov 07 11:06:58 2025 +0100
@@ -60,6 +60,7 @@
 APP_EXT =
 
 # ld flags
+SHLIB_LDFLAGS = -dynamiclib
 UCX_SO_NAME = -install_name @rpath/libucx.dylib
 RPATH_WS_LIB_FLAG = -rpath @loader_path/../lib
 		</make>

mercurial