Skip to content
Snippets Groups Projects
Commit ddb1fb75 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

a failed libssh2 check must not pollute the variables

parent ea2754e0
No related branches found
No related tags found
No related merge requests found
......@@ -1495,6 +1495,11 @@ if test X"$OPT_LIBSSH2" != Xno; then
export LD_LIBRARY_PATH
AC_MSG_NOTICE([Added $LIB_LIBSSH2 to LD_LIBRARY_PATH])
fi
else
dnl no libssh2, revert back to clean variables
LDFLAGS=$CLEANLDFLAGS
CPPFLAGS=$CLEANCPPFLAGS
LIBS=$CLEANLIBS
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment