diff options
author | nia <nia@pkgsrc.org> | 2019-06-15 12:30:47 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-06-15 12:30:47 +0000 |
commit | 7e1eae0075e7d439be4c856f6048d4e9eaa49f07 (patch) | |
tree | b3b9de439300e9ee5ec0610242f56e8634fa5b98 /net/libtorrent | |
parent | 942015aac51c48551d0344c16513b3d2ae054140 (diff) | |
download | pkgsrc-7e1eae0075e7d439be4c856f6048d4e9eaa49f07.tar.gz |
libtorrent: Pass -Wl,-R to the linker instead of -W,-lR.
The latter smells like a typo and makes OpenSSL 1.1 detection fail.
Diffstat (limited to 'net/libtorrent')
-rw-r--r-- | net/libtorrent/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile index dfb9e1530a4..d006662c68f 100644 --- a/net/libtorrent/Makefile +++ b/net/libtorrent/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.59 2018/06/24 16:57:58 adam Exp $ +# $NetBSD: Makefile,v 1.60 2019/06/15 12:30:47 nia Exp $ DISTNAME= libtorrent-0.13.7 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://rtorrent.net/downloads/ @@ -51,7 +52,7 @@ CONFIGURE_ARGS+= --disable-instrumentation .if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc) OPENSSL_CFLAGS= -I${BUILDLINK_PREFIX.openssl}/include OPENSSL_LIBS= -L${BUILDLINK_PREFIX.openssl}/lib \ - -W,-lR${BUILDLINK_PREFIX.openssl}/lib + -Wl,-R${BUILDLINK_PREFIX.openssl}/lib CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q} CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LIBS:Q} |