2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00

plzip: Fix build with libc++. Closes #282

This commit is contained in:
Dylan Araps 2021-07-14 12:40:14 +03:00
parent 131c2d6502
commit a0e6bbc9f1
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -5,6 +5,11 @@
# compile plzip.
(cd lzlib; ./configure; make)
# Fix build in libc++ environment.
case $("${CC:-cc}" -print-file-name=libc++.a) in */*)
CXXFLAGS="$CXXFLAGS -lunwind -lc++abi"
esac
./configure \
--prefix=/usr \
CXXFLAGS="$CXXFLAGS -static -L$PWD/lzlib -I$PWD/lzlib"