summaryrefslogtreecommitdiff
path: root/libssh2.spec
diff options
context:
space:
mode:
authorJakub Bogusz2010-10-08 07:14:41 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commite5f6b029c8eda2c91c876a8df09c48512566778d (patch)
tree4300aff2b0515d313a8318dec0f7b02e96cc8cb1 /libssh2.spec
parentfbac22c6e73919d0603f9b462291692d59243a1f (diff)
downloadlibssh2-e5f6b029c8eda2c91c876a8df09c48512566778d.zip
libssh2-e5f6b029c8eda2c91c876a8df09c48512566778d.tar.gz
- kill -L/usr/libauto/ti/libssh2-1_2_7-2
- release 2 Changed files: libssh2.spec -> 1.33
Diffstat (limited to 'libssh2.spec')
-rw-r--r--libssh2.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/libssh2.spec b/libssh2.spec
index 941f05c..8b27ee3 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -2,7 +2,7 @@ Summary: Library implementing the SSH2 protocol
Summary(pl.UTF-8): Biblioteka implementująca protokół SSH2
Name: libssh2
Version: 1.2.7
-Release: 1
+Release: 2
License: BSD
Group: Libraries
Source0: http://www.libssh2.org/download/%{name}-%{version}.tar.gz
@@ -114,7 +114,10 @@ Biblioteka statyczna libssh2.
cp -f /usr/share/automake/config.sub .
%configure \
--with-openssl=%{_prefix}
-%{__make}
+# AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
+%{__make} \
+ LTLIBSSL="-lssl -lcrypto" \
+ LTLIBZ="-lz"
%install
rm -rf $RPM_BUILD_ROOT