make/project.xml

changeset 1460
464f896249c1
parent 1456
fb4f5e37090d
child 1461
dfd79d615049
--- a/make/project.xml	Tue Oct 28 21:33:24 2025 +0100
+++ b/make/project.xml	Tue Oct 28 21:46:37 2025 +0100
@@ -20,11 +20,7 @@
         </make>
     </dependency>
     
-    <dependency platform="solaris">
-        <ldflags>-lm</ldflags>
-    </dependency>
-
-    <dependency name="file-tools">
+    <dependency>
         <make>
             MKDIR=/bin/mkdir -p
             RMFILE=/bin/rm -f
@@ -35,7 +31,7 @@
         </make>
     </dependency>
 
-    <dependency name="c" platform="mingw">
+    <dependency platform="mingw">
         <lang>c</lang>
         <make>
             AR=ar
@@ -45,7 +41,7 @@
         </make>
     </dependency>
 
-    <dependency name="c" platform="macos">
+    <dependency platform="macos">
         <lang>c</lang>
         <make>
             AR=ar
@@ -55,7 +51,7 @@
         </make>
     </dependency>
 
-    <dependency name="c" platform="unix">
+    <dependency platform="unix">
         <lang>c</lang>
         <make>
             AR=ar
@@ -65,6 +61,22 @@
         </make>
     </dependency>
 
+    <dependency toolchain="gnuc" not="macos">
+        <make>
+            SHLIB_LDFLAGS += -Wl,-soname,libucx\$(SHLIB_EXT).\$(LIBVERSION_MAJOR)
+        </make>
+    </dependency>
+
+    <dependency toolchain="suncc">
+        <make>
+            SHLIB_LDFLAGS += -h libucx\$(SHLIB_EXT).\$(LIBVERSION_MAJOR)
+        </make>
+    </dependency>
+
+    <dependency platform="solaris">
+        <ldflags>-lm</ldflags>
+    </dependency>
+
     <dependency name="cxx">
         <lang>cpp</lang>
     </dependency>
@@ -134,6 +146,5 @@
                 <define name="CX_NO_SZMUL_BUILTIN"/>
             </disabled>
         </feature>
-        <dependencies>c,file-tools</dependencies>
     </target>
 </project>

mercurial