fix link error

el8
David Woodhouse 15 years ago
parent 85cf15ff5b
commit d62fec740e

@ -0,0 +1,28 @@
Author: hyc
Date: Sun Apr 18 21:41:36 2010
New Revision: 435
Log:
Windows GNUTLS needs explicit -lgcrypt
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Sun Apr 18 21:32:42 2010 (r434)
+++ trunk/Makefile Sun Apr 18 21:41:36 2010 (r435)
@@ -5,7 +5,7 @@ LD=$(CROSS_COMPILE)ld
CRYPTO=OPENSSL
#CRYPTO=GNUTLS
-LIB_GNUTLS=-lgnutls
+LIB_GNUTLS=-lgnutls -lgcrypt
LIB_OPENSSL=-lssl -lcrypto
CRYPTO_LIB=$(LIB_$(CRYPTO))
DEF_=-DNO_CRYPTO
_______________________________________________
rtmpdump mailing list
rtmpdump@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump

@ -1,6 +1,6 @@
Name: rtmpdump
Version: 2.2c
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Toolkit for RTMP streams
Group: Applications/Internet
@ -10,6 +10,7 @@ License: GPLv2+
# label its licence correctly. But the _tools_ are GPLv2.
URL: http://rtmpdump.mplayerhq.hu/
Source0: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tar.gz
Patch1: rtmpdump-link-gcrypt.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnutls-devel zlib-devel
@ -20,6 +21,7 @@ including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
%prep
%setup -q
%patch1 -p1
%build
make CRYPTO=GNUTLS OPT="$RPM_OPT_FLAGS" progs
@ -54,5 +56,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Apr 20 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-2
- Link with libgcrypt explicitly since we call it directly
* Mon Apr 19 2010 David Woodhouse <dwmw2@infradead.org> 2.2c-1
- Initial package

Loading…
Cancel
Save