forked from flathub/xyz.rescribe.rescribe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport (upstream build fix)[go-gl/glfw#399]
- Loading branch information
1 parent
7b8d3c7
commit 92dd6d9
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/vendor/github.com/go-gl/glfw/v3.3/glfw/build.go b/vendor/github.com/go-gl/glfw/v3.3/glfw/build.go | ||
index 14a7ef3..4a00f2e 100644 | ||
--- a/vendor/github.com/go-gl/glfw/v3.3/glfw/build.go | ||
+++ b/vendor/github.com/go-gl/glfw/v3.3/glfw/build.go | ||
@@ -27,7 +27,7 @@ package glfw | ||
// ---------------- | ||
// GLFW Options: | ||
#cgo linux,!wayland CFLAGS: -D_GLFW_X11 | ||
-#cgo linux,wayland CFLAGS: -D_GLFW_WAYLAND | ||
+#cgo linux,wayland CFLAGS: -D_GLFW_WAYLAND -D_GNU_SOURCE | ||
|
||
// Linker Options: | ||
#cgo linux,!gles1,!gles2,!gles3,!vulkan LDFLAGS: -lGL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters