mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 15:20:06 -07:00
plzip: Fix build with libc++. Closes #282
This commit is contained in:
parent
131c2d6502
commit
a0e6bbc9f1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user