From 5dd3f14ce80745f04c863f5d55305994e652e45b Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 21 Aug 2016 21:02:01 +0200 Subject: [PATCH] lz4: fix secondary arch build. --- app-arch/lz4/lz4-r131.recipe | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-arch/lz4/lz4-r131.recipe b/app-arch/lz4/lz4-r131.recipe index 837d11cec..14f1e2a21 100644 --- a/app-arch/lz4/lz4-r131.recipe +++ b/app-arch/lz4/lz4-r131.recipe @@ -60,6 +60,14 @@ INSTALL() { make install LIBDIR=$libDir INCLUDEDIR=$includeDir \ BINDIR=$binDir MANDIR=$manDir/man1 + + if [ -n "$secondaryArchSuffix" ]; then + rm $binDir/lz4 + rm $binDir/lz4c + rm $binDir/lz4cat + rm $binDir/unlz4 + fi + prepareInstalledDevelLibs liblz4 fixPkgconfig