]> git.sur5r.net Git - openldap/commitdiff
ITS#2764 catch -lc at end of line as well
authorHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:20:09 +0000 (02:20 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:20:09 +0000 (02:20 +0000)
configure.in

index 9067ee89a2d186ff3566990dd51737ddd3d1ac91..9b8b8552af13702f230d82063f7c57c4c6cd65ef 100644 (file)
@@ -691,7 +691,7 @@ 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 / /'`"
+               PERL_LDFLAGS="`$PERLBIN -MExtUtils::Embed -e ldopts|sed -e 's/ -lc / /' -e 's/ -lc$//'`"
 
                if test x"$ol_with_perl_module" = "xstatic" ; then
                        SLAPD_PERL_LDFLAGS="$PERL_LDFLAGS"