Commit fd831275ce8dc6678b71bb2517ec6bed30874493

Edward Thomson 2019-11-23T12:40:46

ci: build shared libssh2

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/azure-pipelines/docker/xenial b/azure-pipelines/docker/xenial
index 55aaed9..855ad0d 100644
--- a/azure-pipelines/docker/xenial
+++ b/azure-pipelines/docker/xenial
@@ -41,7 +41,7 @@ RUN cd /tmp && \
     tar -xf libssh2-1.8.2.tar.gz && \
     rm -f libssh2-1.8.2.tar.gz && \
     cd libssh2-1.8.2 && \
-    CFLAGS=-fPIC cmake -G Ninja -DCRYPTO_BACKEND=Libgcrypt . && \
+    CFLAGS=-fPIC cmake -G Ninja -DBUILD_SHARED_LIBS=ON -DCRYPTO_BACKEND=Libgcrypt . && \
     ninja install && \
     cd .. && \
     rm -rf libssh2-1.8.2