Skip to content
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

Fix 'linux' and specific BSD feature tags #76974

Merged
merged 1 commit into from
May 12, 2023

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented May 11, 2023

After #76540, GDExtension's that have libraries like this are broken:

linux.debug.x86_64 = "res://bin/libexample.so"

... you now have to change that to:

linuxbsd.debug.x86_64 = "res://bin/libexample.so"

This also affects project settings that used the ".linux" suffix - those would also need to update to ".linuxbsd".

This PR makes the 'linux' feature tag work on Linux again, and it should also allow specific BSD tags (ex. freebsd, netbsd, etc) which were previously supported as well, but I don't personally have a way to test those.

@dsnopek dsnopek added this to the 4.x milestone May 11, 2023
@dsnopek dsnopek requested a review from a team as a code owner May 11, 2023 22:02
@dsnopek dsnopek requested a review from a team May 11, 2023 22:02
@dsnopek dsnopek requested a review from akien-mga May 11, 2023 22:05
@akien-mga akien-mga merged commit 1c07717 into godotengine:master May 12, 2023
@akien-mga
Copy link
Member

Thanks!

bend-n added a commit to bend-n/godot-builds that referenced this pull request May 12, 2023
@dsnopek dsnopek deleted the linuxbsd-feature-tags branch July 22, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OS.has_feature("linux") returns false on linux
4 participants