PKGBUILDs/meson/static-compat/meson-static-compat-wrapper
Martchus 5411a9d1fd Update static libraries
* Use an older glibc so resulting binaries can run
  on older systems (without having to link statically
  against glibc)
* Call packages static-compat-* to make it clear that
  these packages are intended for compatibility with
  older distributions
* Add further libraries to get static-compat-qt6-base
  and some other static-compat-qt6-* packages building
2022-04-28 22:43:29 +02:00

23 lines
832 B
Bash

#!/bin/sh
source static-compat-environment
meson setup \
--prefix "$static_compat_prefix" \
--libdir "$static_compat_prefix"/lib \
--libexecdir "$static_compat_prefix"/lib \
--bindir "$static_compat_prefix"/bin \
--sbindir "$static_compat_prefix"/bin \
--includedir "$static_compat_prefix"/include \
--datadir "$static_compat_prefix"/share \
--mandir "$static_compat_prefix"/share/man \
--infodir "$static_compat_prefix"/share/info \
--localedir "$static_compat_prefix"/share/locale \
--sysconfdir "$static_compat_prefix"/etc \
--localstatedir "$static_compat_prefix"/var \
--sharedstatedir "$static_compat_prefix"/var/lib \
--buildtype release \
--wrap-mode nofallback \
--strip \
--default-library static \
"$@"