mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 12:31:09 -05:00
Merge pull request #1492 from ailin-nemui/meson-apple
document meson apple workaround (cherry picked from commit 8c8e4e34d48c4f9bc830f88f6dbb7c6cc6861ac9)
This commit is contained in:
parent
5a0dc0db09
commit
1226a587b7
8
INSTALL
8
INSTALL
@ -144,3 +144,11 @@ Getting perl scripting to work needs a few things:
|
||||
It doesn't hurt to be defined everywhere, so configure irssi with:
|
||||
|
||||
CFLAGS='-DUSEIMPORTLIB' ./configure --with-perl-staticlib
|
||||
|
||||
|
||||
Apple MacOS / Darwin
|
||||
|
||||
At the time of writing, meson has an open issue with correctly linking
|
||||
libraries on macos.
|
||||
|
||||
See docs/meson-macos-ar.txt for a workaround.
|
||||
|
6
docs/meson-macos-ar.txt
Normal file
6
docs/meson-macos-ar.txt
Normal file
@ -0,0 +1,6 @@
|
||||
;; 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']
|
Loading…
x
Reference in New Issue
Block a user