]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#2764 perl LDFLAGS
authorHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 03:15:35 +0000 (03:15 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 03:15:35 +0000 (03:15 +0000)
configure

index 99e08bf6ac1fea1a47b27dafb82bedcd4de51f65..ac6bd98c10302b6bc6a426896ce64220b19871c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -7808,10 +7808,11 @@ fi
 
        else
                PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e ccopts`"
+               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="`$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
                                ol_link_perl=yes
        fi