diff options
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/live/live-2020.03.06.ebuild | 3 |
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" |