Closed izirku closed 2 years ago
Please try compiling zld from the branch add-command-line-tools-to-runpaths
and let me know if it solves your problem
I tried building, requires XCode:
xcodebuild -project ld/zld.xcodeproj -scheme zld -derivedDataPath build -configuration Release build
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
make: *** [build] Error 1
I see, well then this isn't possible. I've updated the readme to reflect that Xcode is required.
1.3.4 has support now for it, let me know how it goes if you still dont' have Xcode
Locally running the following, adds CommandLineTools lib folder to rpath allowing to use
zld
without the need for full XCode installation:install_name_tool -add_rpath /Library/Developer/CommandLineTools/usr/lib zld
Would it be possible to add this to Github workflows (if it supports it of course)?
This also solves a prior issue #69
P.S. This is a hack, maybe there is a better way to do it