Skip to content

Commit 9979a50

Browse files
oyvholmgitster
authored andcommitted
configure.ac: Add missing comma to CC_LD_DYNPATH
40bfbde ("build: don't duplicate substitution of make variables", 2012-09-11) by mistake removed a necessary comma at the end of "CC_LD_DYNPATH=-Wl,rpath," in line 414. When executing "./configure --with-zlib=PATH", this resulted in [...] CC xdiff/xhistogram.o AR xdiff/lib.a LINK git-credential-store /usr/bin/ld: bad -rpath option collect2: ld returned 1 exit status make: *** [git-credential-store] Error 1 $ during make. Signed-off-by: Øyvind A. Holm <[email protected]> Acked-by: Stefano Lattarini <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4c6c949 commit 9979a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ else
411411
LDFLAGS="${SAVE_LDFLAGS}"
412412
])
413413
if test "$git_cv_ld_wl_rpath" = "yes"; then
414-
CC_LD_DYNPATH=-Wl,-rpath
414+
CC_LD_DYNPATH=-Wl,-rpath,
415415
else
416416
AC_CACHE_CHECK([if linker supports -rpath], git_cv_ld_rpath, [
417417
SAVE_LDFLAGS="${LDFLAGS}"

0 commit comments

Comments
 (0)