aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qt5-base/patches/xlib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qt5-base/patches/xlib.patch')
-rw-r--r--vcpkg/ports/qt5-base/patches/xlib.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-base/patches/xlib.patch b/vcpkg/ports/qt5-base/patches/xlib.patch
new file mode 100644
index 0000000..07cba5b
--- /dev/null
+++ b/vcpkg/ports/qt5-base/patches/xlib.patch
@@ -0,0 +1,39 @@
+diff --git a/src/gui/configure.json b/src/gui/configure.json
+index 9a749516b..242f47504 100644
+--- a/src/gui/configure.json
++++ b/src/gui/configure.json
+@@ -568,7 +568,9 @@
+ },
+ "headers": "X11/Xlib.h",
+ "sources": [
+- { "type": "makeSpec", "spec": "X11" }
++ { "type": "makeSpec", "spec": "X11" },
++ { "type": "pkgConfig", "args": "x11" },
++ { "type": "pkgConfig", "args": "x11 --static" }
+ ]
+ },
+ "x11sm": {
+@@ -590,6 +592,7 @@
+ "headers": "xcb/xcb.h",
+ "sources": [
+ { "type": "pkgConfig", "args": "xcb >= 1.11" },
++ { "type": "pkgConfig", "args": "xcb >= 1.11 --static" },
+ "-lxcb"
+ ]
+ },
+@@ -691,6 +694,7 @@
+ "headers": "X11/Xlib-xcb.h",
+ "sources": [
+ { "type": "pkgConfig", "args": "x11-xcb" },
++ { "type": "pkgConfig", "args": "x11-xcb --static" },
+ "-lX11-xcb"
+ ],
+ "use": "xcb xlib"
+@@ -711,6 +715,7 @@
+ "headers": "xcb/xkb.h",
+ "sources": [
+ { "type": "pkgConfig", "args": "xcb-xkb" },
++ { "type": "pkgConfig", "args": "xcb-xkb --static" },
+ "-lxcb-xkb"
+ ],
+ "use": "xcb"