]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#2764 fix perl sed cmd
authorHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:14:57 +0000 (02:14 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:14:57 +0000 (02:14 +0000)
configure.in

index 8ee4ab791bc6b3a658720cc89e3804a75d68e966..d83768763fe488d3e04e9293df4331980bfe403c 100644 (file)
@@ -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