mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
ITS#2764: fix sed of perl ldopts
This commit is contained in:
parent
db24b00660
commit
9201971c59
2 changed files with 740 additions and 738 deletions
|
|
@ -682,10 +682,11 @@ if test $ol_enable_perl != no ; then
|
||||||
|
|
||||||
else
|
else
|
||||||
PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`"
|
PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`"
|
||||||
|
PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/\ -lc\ //g -e s/\ -lc\$// `"
|
||||||
if test x"$ol_with_perl_module" = "xstatic" ; then
|
if test x"$ol_with_perl_module" = "xstatic" ; then
|
||||||
SLAPD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
|
SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||||
else
|
else
|
||||||
MOD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
|
MOD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||||
fi
|
fi
|
||||||
dnl should check perl version
|
dnl should check perl version
|
||||||
ol_link_perl=yes
|
ol_link_perl=yes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue