xlib.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. diff --git a/src/gui/configure.json b/src/gui/configure.json
  2. index 9a749516b..242f47504 100644
  3. --- a/src/gui/configure.json
  4. +++ b/src/gui/configure.json
  5. @@ -568,7 +568,9 @@
  6. },
  7. "headers": "X11/Xlib.h",
  8. "sources": [
  9. - { "type": "makeSpec", "spec": "X11" }
  10. + { "type": "makeSpec", "spec": "X11" },
  11. + { "type": "pkgConfig", "args": "x11" },
  12. + { "type": "pkgConfig", "args": "x11 --static" }
  13. ]
  14. },
  15. "x11sm": {
  16. @@ -590,6 +592,7 @@
  17. "headers": "xcb/xcb.h",
  18. "sources": [
  19. { "type": "pkgConfig", "args": "xcb >= 1.11" },
  20. + { "type": "pkgConfig", "args": "xcb >= 1.11 --static" },
  21. "-lxcb"
  22. ]
  23. },
  24. @@ -691,6 +694,7 @@
  25. "headers": "X11/Xlib-xcb.h",
  26. "sources": [
  27. { "type": "pkgConfig", "args": "x11-xcb" },
  28. + { "type": "pkgConfig", "args": "x11-xcb --static" },
  29. "-lX11-xcb"
  30. ],
  31. "use": "xcb xlib"
  32. @@ -711,6 +715,7 @@
  33. "headers": "xcb/xkb.h",
  34. "sources": [
  35. { "type": "pkgConfig", "args": "xcb-xkb" },
  36. + { "type": "pkgConfig", "args": "xcb-xkb --static" },
  37. "-lxcb-xkb"
  38. ],
  39. "use": "xcb"