aboutsummaryrefslogtreecommitdiff
path: root/extra/libX11/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-01-12 17:47:26 +0100
committerCem Keylan <cem@ckyln.com>2023-01-12 17:47:26 +0100
commitabaea72b4a295d4845cf8f227cd82808733fcc5e (patch)
tree129b5e8ba7925e48779cebe916f9cbe173b03ca2 /extra/libX11/build
parent60e23906960f50f6a296ef6ca7d1e31dc6395fb5 (diff)
downloadrepository-abaea72b4a295d4845cf8f227cd82808733fcc5e.tar.gz
libX11: move to extra
Diffstat (limited to 'extra/libX11/build')
-rwxr-xr-xextra/libX11/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libX11/build b/extra/libX11/build
new file mode 100755
index 00000000..a7d53475
--- /dev/null
+++ b/extra/libX11/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+CFLAGS_FOR_BUILD=-fPIC \
+./configure \
+ --prefix=/usr \
+ --enable-static
+
+make
+make DESTDIR="$1" install
+
+# This will be removed once 'xorgproto' 2019.2
+# is released.
+rm -f "$1/usr/include/X11/extensions/XKBgeom.h"