summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-23 19:02:58 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-23 19:02:58 -0800
commit67b175bb11d66329f9257368a6e75dfd26d0670f (patch)
treeaf7b49d2aca11f62504890b9d95a021dedd97b87
parente5bde1987c1ddaf2416011b9529a73eb174f5d21 (diff)
parent50a4b35245bbdb0cfca5d62bc4295a2b2e4f1e87 (diff)
downloadgit-67b175bb11d66329f9257368a6e75dfd26d0670f.tar.gz
Merge branch 'pj/maint-ldflags' into maint
* pj/maint-ldflags: configure clobbers LDFLAGS
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8821b5080a..0a5fc8c6f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,7 @@ else
SAVE_LDFLAGS="${LDFLAGS}"
LDFLAGS="${SAVE_LDFLAGS} -Wl,-rpath,/"
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_wl_rpath=yes], [ld_wl_rpath=no])
- LDFLAGS="${SAVE_LD_FLAGS}"
+ LDFLAGS="${SAVE_LDFLAGS}"
])
if test "$ld_wl_rpath" = "yes"; then
AC_SUBST(CC_LD_DYNPATH, [-Wl,-rpath,])
@@ -136,7 +136,7 @@ else
SAVE_LDFLAGS="${LDFLAGS}"
LDFLAGS="${SAVE_LDFLAGS} -rpath /"
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_rpath=yes], [ld_rpath=no])
- LDFLAGS="${SAVE_LD_FLAGS}"
+ LDFLAGS="${SAVE_LDFLAGS}"
])
if test "$ld_rpath" = "yes"; then
AC_SUBST(CC_LD_DYNPATH, [-rpath])