Closed pyrmont closed 1 month ago
As discussed in #191, cc.janet does not work correctly when compiling on macOS. This PR addresses these problems by:
cc.janet
-Wl,rpath,
-Wl,rpath=
-Wl,-Bstatic
-Wl,-Bdynamic
-Wl,--start-group
-Wl,--end-group
I'm using a vendored version of this file successfully to compile Janet libraries on macOS as part of Arnie. This fixes #191.
Thanks @pyrmont, LGTM!
As discussed in #191,
cc.janet
does not work correctly when compiling on macOS. This PR addresses these problems by:-Wl,rpath,
rather than-Wl,rpath=
-Wl,-Bstatic
and-Wl,-Bdynamic
on macOS-Wl,--start-group
and-Wl,--end-group
by default on macOSI'm using a vendored version of this file successfully to compile Janet libraries on macOS as part of Arnie. This fixes #191.