Change the dynamic library identifier for each library to be rpath-relative.

This commit is contained in:
David Kocher
2026-05-19 14:40:33 +02:00
parent 858ff4e9e7
commit f27d96da20
+12
View File
@@ -31,6 +31,18 @@
</fileset>
<srcfile/>
</apply>
<apply executable="/usr/bin/xcrun" failonerror="true"
type="file" relative="true" dir="${directory}"
parallel="false" spawn="false" force="true">
<arg line="install_name_tool -id"/>
<targetfile/>
<fileset dir="${directory}">
<include name="*.dylib"/>
<include name="*.so"/>
</fileset>
<srcfile/>
<globmapper from="*" to="@rpath/*"/>
</apply>
</target>
<target name="lipo">