summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James (sam_c) <sam@cmpct.info>2020-06-17 02:10:03 +0000
committerThomas Deutschmann <whissi@gentoo.org>2020-06-19 17:25:04 +0200
commit28a352cb944d7e501836dc886b4b319fd7f2d445 (patch)
tree9b6191a22f2996f3694fa4d960f26abd16822ccf /media-plugins
parentmedia-plugins/live: respect CC/CXX (diff)
downloadgentoo-28a352cb944d7e501836dc886b4b319fd7f2d445.tar.gz
gentoo-28a352cb944d7e501836dc886b4b319fd7f2d445.tar.bz2
gentoo-28a352cb944d7e501836dc886b4b319fd7f2d445.zip
media-plugins/live: link against libcrypto too
Closes: https://bugs.gentoo.org/721386 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/live/live-2020.03.06.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-plugins/live/live-2020.03.06.ebuild b/media-plugins/live/live-2020.03.06.ebuild
index 455a0795921f..1d9c815d7481 100644
--- a/media-plugins/live/live-2020.03.06.ebuild
+++ b/media-plugins/live/live-2020.03.06.ebuild
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="libressl ssl"
+BDEPEND="virtual/pkgconfig"
DEPEND="
ssl? (
!libressl? ( dev-libs/openssl:0= )
@@ -76,7 +77,7 @@ src_configure() {
src_compile() {
export suffix="${LIVE_ABI_VERSION}.so"
- local link_opts="$(usex ssl '-lssl' '') -L. ${LDFLAGS}"
+ local link_opts="$(usex ssl "$(pkg-config --libs libssl libcrypto)" '') -L. ${LDFLAGS}"
local lib_suffix="${suffix#.}"
einfo "Beginning shared library build"