forked from kiss-community/repo
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