From: Howard Chu Date: Tue, 2 Dec 2003 02:14:57 +0000 (+0000) Subject: ITS#2764 fix perl sed cmd X-Git-Tag: OPENLDAP_REL_ENG_2_1_24~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ebb1f4bc22b6ede178d100f62e817b59f048cd4;p=thirdparty%2Fopenldap.git ITS#2764 fix perl sed cmd --- diff --git a/configure.in b/configure.in index 8ee4ab791b..d83768763f 100644 --- a/configure.in +++ b/configure.in @@ -648,10 +648,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 / /'`" 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