Conversation
…ct -p), and just uses "" as the value.
c96d77f to
a830258
Compare
|
Hi @tomchappell! Thank you for the PR! @katef asked me to test this, as I'm one of the few The PR should be compatible with at least Big Sur if you change the This should also work on Monterey, although I can't test that until at least this weekend. |
Thanks, will check it out! |
|
Hey sfstewman, the suggested change does NOT work on Monterey (I have 12.2.1), where we find the following: ...so we see that there exists no directory named Platforms anywhere under the path returned by xcode-select -p, |
|
...but the PR as it is does work on (my) Monterey 12.2.1. |
|
Hey @tomchappell! That's frustrating. I think I know what's going on. I'll have a chance to check it out this weekend. I think the issue is whether the XCode command-line tools are installed or not. If they're not installed, Unfortunately, while One solution is to test for the existence of I'm sure there's a better solution. I'm not a hardcore macOS developer; I mostly work on Linux these days. |
|
Worth mentioning I think we can edit: apparently not... |
|
Yeah, on my Monterey box, the XCode command-line tools ARE installed, and it returns the (correct and usable) |
|
So, I did check this on a Monterey box before I posted my thoughts on We could merge and sort it out later. @katef ? |
|
See also #10. I just ran into this. Rebasing this branch against main fixes the libfsm build for me on arm64 macOS Sequoia 15.7.2. |
The existing
LDSFLAGSis not working -- the$(xcode-select -p)within it is evaluating as "" -- it doesn't even seem to be executed. bmake problem?Fixed by using the != execute-and-assign operator, and also by adding -lSystem parameter.