app-crypt/libb2: use -no-undefined libtool flag
authorMichael Haubenwallner <haubi@gentoo.org>
Wed, 5 Jun 2019 13:43:38 +0000 (15:43 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Wed, 5 Jun 2019 14:19:39 +0000 (16:19 +0200)
https://github.com/BLAKE2/libb2/pull/28

Closes: https://bugs.gentoo.org/687442
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
app-crypt/libb2/libb2-0.98.1.ebuild

index 440bcd1bb91648292f1cbab767695318935b6245..6ed261ba062b5319c67854c40e6128219b6c40f4 100644 (file)
@@ -35,6 +35,8 @@ src_prepare() {
        default
        # fix bashism
        sed -i -e 's/ == / = /' configure.ac || die
+       # https://github.com/BLAKE2/libb2/pull/28
+       echo 'libb2_la_LDFLAGS = -no-undefined' >> src/Makefile.am || die
        eautoreconf  # upstream doesn't make releases
 }