-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Premake test fails on macOS #1628
Comments
What version of macOS is this? Also, is this on an Intel or M1 mac? |
Sorry.
|
I can reproduce this here, also on Big Sur. I think we're missing a search path in function suite.findlib_FindSystemLib()
if os.istarget("windows") then
test.istrue(os.findlib("user32"))
elseif os.istarget("haiku") then
test.istrue(os.findlib("root"))
elseif os.istarget("darwin") then -- added this clause
test.istrue(os.findlib("readline"))
else
test.istrue(os.findlib("m"))
end
end |
From Big Sur release notes https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes:
|
Fix #1628 failing macOS os.findlib() test
What seems to be the problem?
When I pull the latest master branch on macOS, build it, and run Premake Test, I get the following error.
What did you expect to happen?
I think all the tests should pass successfully.
What have you tried so far?
I haven't tried anything.
I looked at the source code, but I couldn't understand it.
How can we reproduce this?
Try running Premake Test on macOS.
What version of Premake are you using?
I'm using
premake5 (Premake Build Script Generator) 5.0.0-dev
.I pulled the latest master branch of premake-core and built it.
The text was updated successfully, but these errors were encountered: