Skip to content

Commit 67b175b

Browse files
committed
Merge branch 'pj/maint-ldflags' into maint
* pj/maint-ldflags: configure clobbers LDFLAGS
2 parents e5bde19 + 50a4b35 commit 67b175b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ else
127127
SAVE_LDFLAGS="${LDFLAGS}"
128128
LDFLAGS="${SAVE_LDFLAGS} -Wl,-rpath,/"
129129
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_wl_rpath=yes], [ld_wl_rpath=no])
130-
LDFLAGS="${SAVE_LD_FLAGS}"
130+
LDFLAGS="${SAVE_LDFLAGS}"
131131
])
132132
if test "$ld_wl_rpath" = "yes"; then
133133
AC_SUBST(CC_LD_DYNPATH, [-Wl,-rpath,])
@@ -136,7 +136,7 @@ else
136136
SAVE_LDFLAGS="${LDFLAGS}"
137137
LDFLAGS="${SAVE_LDFLAGS} -rpath /"
138138
AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [ld_rpath=yes], [ld_rpath=no])
139-
LDFLAGS="${SAVE_LD_FLAGS}"
139+
LDFLAGS="${SAVE_LDFLAGS}"
140140
])
141141
if test "$ld_rpath" = "yes"; then
142142
AC_SUBST(CC_LD_DYNPATH, [-rpath])

0 commit comments

Comments
 (0)