aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/patches/xlib.patch
blob: 07cba5b8254a2ee494d3ce13d896cd4a853802be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"