Commit 638512c1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix ssh2 .pc file with zlib

(cherry picked from commit 0d70f5f4b78248c04c2efbc744cc04e2d64b1ac6)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 61609172
--- ssh2/configure.ac 2015-02-24 10:09:30.662277334 +0100
+++ ssh2/configure.ac.new 2015-02-24 10:08:57.658394756 +0100
@@ -133,6 +133,7 @@
AC_MSG_NOTICE([Try --with-libz-prefix=PATH if you know you have it])
else
AC_DEFINE(LIBSSH2_HAVE_ZLIB, 1, [Compile in zlib support])
+ LIBS="$LIBS -lz"
fi
fi
......@@ -18,6 +18,7 @@ $(TARBALLS)/libssh2-$(LIBSSH2_VERSION).tar.gz:
ssh2: libssh2-$(LIBSSH2_VERSION).tar.gz .sum-ssh2
$(UNPACK)
$(APPLY) $(SRC)/ssh2/no-tests.patch
$(APPLY) $(SRC)/ssh2/configure-zlib.patch
$(MOVE)
DEPS_ssh2 = gcrypt $(DEPS_gcrypt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment