Commit 1e7b7973 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

configure: Fixed builds with libssh2 in a custom location

A libssh2 library in the standard system location was being used in
preference to the desired one while linking.
parent cd7f562b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2581,7 +2581,7 @@ if test X"$OPT_LIBSSH2" != Xno; then
    DIR_SSH2=${PREFIX_SSH2}/lib$libsuff
  fi

  LDFLAGS="$LDFLAGS $LD_SSH2"
  LDFLAGS="$LD_SSH2 $LDFLAGS"
  CPPFLAGS="$CPPFLAGS $CPP_SSH2"
  LIBS="$LIB_SSH2 $LIBS"