Commit 9201971c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#2764: fix sed of perl ldopts

parent db24b006
This diff is collapsed.
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment