mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#2764: fix sed of perl ldopts
This commit is contained in:
parent
db24b00660
commit
9201971c59
@ -682,10 +682,11 @@ if test $ol_enable_perl != no ; then
|
||||
|
||||
else
|
||||
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
|
||||
SLAPD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
|
||||
SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||
else
|
||||
MOD_PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e s/-lc//`"
|
||||
MOD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||
fi
|
||||
dnl should check perl version
|
||||
ol_link_perl=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user