mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix PERL ldopt handling
This commit is contained in:
parent
ab2a7195d0
commit
26f6b2d1dd
@ -682,11 +682,12 @@ 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\$// `"
|
||||
PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e 's/ -lc / /'`"
|
||||
|
||||
if test x"$ol_with_perl_module" = "xstatic" ; then
|
||||
SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||
SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS"
|
||||
else
|
||||
MOD_PERL_LDFLAGS="$PERL_LDFLAGS""
|
||||
MOD_PERL_LDFLAGS="$PERL_LDFLAGS"
|
||||
fi
|
||||
dnl should check perl version
|
||||
ol_link_perl=yes
|
||||
|
Loading…
Reference in New Issue
Block a user