Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

support CommandLineTools users #100

Closed
izirku opened this issue Feb 14, 2022 · 4 comments
Closed

support CommandLineTools users #100

izirku opened this issue Feb 14, 2022 · 4 comments

Comments

@izirku
Copy link

izirku commented Feb 14, 2022

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

@michaeleisel
Copy link
Owner

Please try compiling zld from the branch add-command-line-tools-to-runpaths and let me know if it solves your problem

@izirku
Copy link
Author

izirku commented Feb 26, 2022

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

@michaeleisel
Copy link
Owner

I see, well then this isn't possible. I've updated the readme to reflect that Xcode is required.

@michaeleisel
Copy link
Owner

1.3.4 has support now for it, let me know how it goes if you still dont' have Xcode

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants