mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
a failed libssh2 check must not pollute the variables
This commit is contained in:
parent
ea2754e028
commit
ddb1fb7535
@ -1495,6 +1495,11 @@ if test X"$OPT_LIBSSH2" != Xno; then
|
|||||||
export LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH
|
||||||
AC_MSG_NOTICE([Added $LIB_LIBSSH2 to LD_LIBRARY_PATH])
|
AC_MSG_NOTICE([Added $LIB_LIBSSH2 to LD_LIBRARY_PATH])
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
dnl no libssh2, revert back to clean variables
|
||||||
|
LDFLAGS=$CLEANLDFLAGS
|
||||||
|
CPPFLAGS=$CLEANCPPFLAGS
|
||||||
|
LIBS=$CLEANLIBS
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user