summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2017-03-12 21:44:32 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2017-03-12 21:44:32 +0100
commitd364f481d0504de4bcf0404c08969758b57a3cb9 (patch)
tree19f87f6bcaade40da91e6e9495ff2038e7a45e9d /src
parentd617f1de94ae2dadadb26eed3cf81180711368f1 (diff)
downloadlibgit2-d364f481d0504de4bcf0404c08969758b57a3cb9.tar.gz
fixup
Diffstat (limited to 'src')
-rw-r--r--src/transports/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/ssh.c b/src/transports/ssh.c
index 0095a8102..99e8f4ef2 100644
--- a/src/transports/ssh.c
+++ b/src/transports/ssh.c
@@ -9,7 +9,7 @@
# define GIT_SSH_LOADLIBRARY
#endif
-#ifndef GIT_SSH_LOADLIBRARY
+#if defined(GIT_SSH_RUNTIME) && !defined(GIT_SSH_LOADLIBRARY)
#include <dlfcn.h>
#endif