mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
523a42e6f0
workaround for https://github.com/mesonbuild/meson/issues/11165
7 lines
368 B
Plaintext
7 lines
368 B
Plaintext
;; manual workaround for meson bug https://github.com/mesonbuild/meson/issues/11165
|
|
;; fixes compilation with meson on apple macos
|
|
;; usage: meson --native-file ./docs/meson-macos-ar.txt ...
|
|
|
|
[binaries]
|
|
ar = ['/bin/sh', '-c', 'ar=${AR:-ar}; ranlib=${RANLIB:-ranlib -c -}; case "x$1" in xcsr*) $ar "$@" && $ranlib "$2" || exit $?; ;; *) exec $ar "$@"; ;; esac;', 'ar']
|