Skip to content

Commit

Permalink
Build.xml: Add /opt/homebrew/lib as rpath on arm64 macos
Browse files Browse the repository at this point in the history
This is where arm64 homebrew installs `libneko.dylib`. However, it may still be in `/usr/local/lib` if installed via the haxe .pkg installer, so we add both.
  • Loading branch information
tobil4sk authored and joshtynjala committed May 15, 2024
1 parent c70ec9f commit 333d093
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/Build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@
/usr/local/lib, but we need it for neko
-->
<vflag name="-rpath" value="/usr/local/lib" />
<vflag name="-rpath" value="/opt/homebrew/lib" if="HXCPP_ARM64"/>

<vflag name="-l" value="iconv" />
<vflag name="-framework" value="IOKit" />
Expand Down Expand Up @@ -549,4 +550,4 @@

</target>

</xml>
</xml>

0 comments on commit 333d093

Please sign in to comment.