-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Allow full static linking and runtime wayland/x11 detection on linux. #3339
Labels
Comments
ghost
added
the
feature request
label
Feb 25, 2024
you can open a pr to support it. add wayland/x11 configs and switch them in on_install. xmake-repo/packages/g/glfw/xmake.lua Line 17 in dde3ebb
xmake-repo/packages/g/glfw/xmake.lua Line 32 in dde3ebb
|
GLFW 3.4 has been released and I will have to add that instead.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Trying to use GLFW on wayland is not possible via xmake which is quite irritating.
Describe the solution you'd like
GLFW allows dynamically selecting between X11 and Wayland at runtime which would both make the binaries more portable and fix the glfw on wayland via xmake issue. Changing linux configuration would allow full static builds with this feature.
Describe alternatives you've considered
adding wayland as a feature is possible but it makes xmake configuration for glfw for linux worse [ as you will have to statically choose between X11/wayland]. Plus the binaries produced will not be statically linked and would also pollute the glfw.xmake file.
Additional context
No response
The text was updated successfully, but these errors were encountered: