summaryrefslogtreecommitdiff
path: root/libraries/zstd-cmake
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-11-03 15:40:29 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-05 21:15:17 +0700
commitc18ea96c8952554b8214c3285ba683c04e2e39c2 (patch)
tree3026ea9fcee89e6b6707f9a0ee0c765d901cb335 /libraries/zstd-cmake
parentcf8372d282e44360e51ac5a5a731a48ecf103a94 (diff)
downloadslackbuilds-c18ea96c8952554b8214c3285ba683c04e2e39c2.tar.gz
libraries/zstd-cmake: Fix 32bit build.
Respect the LIBDIRSUFFIX var to fix the build on 32 bit. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/zstd-cmake')
-rw-r--r--libraries/zstd-cmake/zstd-cmake.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/zstd-cmake/zstd-cmake.SlackBuild b/libraries/zstd-cmake/zstd-cmake.SlackBuild
index b849981ff2..90c05d574e 100644
--- a/libraries/zstd-cmake/zstd-cmake.SlackBuild
+++ b/libraries/zstd-cmake/zstd-cmake.SlackBuild
@@ -91,8 +91,8 @@ cd build/cmake/build
cd ../../..
rm -r $PKG/usr/include
-rm -r $PKG/usr/lib64/pkgconfig
-rm $PKG/usr/lib64/libzstd.*
+rm -r $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
+rm $PKG/usr/lib$LIBDIRSUFFIX/libzstd.*
sed -i 's/${_IMPORT_PREFIX}\//\//g' \
$PKG/usr/lib${LIBDIRSUFFIX}/cmake/$SRCNAM/${SRCNAM}Targets-release.cmake