mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Merge pull request #927 from DomT4/perl_mojave
configure: fix Perl detection on macOS Mojave
(cherry picked from commit 0346638547)
This commit is contained in:
parent
0f978ce28e
commit
a98bb2009d
1 changed files with 2 additions and 2 deletions
|
|
@ -373,8 +373,8 @@ if test "$want_perl" != "no"; then
|
|||
dnl * fix those command line options a bit so GCC won't
|
||||
dnl * complain about them. Normally there's only few options
|
||||
dnl * that we want to keep:
|
||||
dnl * -Ddefine -Uundef -I/path -fopt -mopt
|
||||
PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIfm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'`
|
||||
dnl * -Ddefine -Uundef -I/path -fopt -mopt -iwithsysroot
|
||||
PERL_CFLAGS=`echo $PERL_CFLAGS | $perlpath -pe 's/^(.* )?-@<:@^DUIifm@:>@@<:@^ @:>@+/\1/g; s/^(.* )?\+@<:@^ @:>@+/\1/g'`
|
||||
|
||||
PERL_EXTRA_OPTS="CCCDLFLAGS=\"-fPIC\""
|
||||
AC_SUBST(PERL_EXTRA_OPTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue