23 lines
538 B
Bash
Executable File
23 lines
538 B
Bash
Executable File
#!/bin/sh
|
|
|
|
LIBS="-lX11-xcb -lxcb -lXau" \
|
|
./configure \
|
|
--with-xinitdir=/etc/X11/xinit \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--build="$(uname -m)-lix-linux-musl" \
|
|
--host="$(uname -m)-lix-linux-musl" \
|
|
--prefix=/usr
|
|
|
|
## explanation
|
|
#
|
|
# --disable-shared: don't build anything with dynamic linking.
|
|
#
|
|
# --enable-static: use static linking instead.
|
|
#
|
|
# --build: make sure the build string gets set correctly.
|
|
#
|
|
# --host: make sure the host string gets set correctly.
|
|
#
|
|
# --prefix: respect the "no /usr/local" policy.
|