swiften: fix musl build
This commit is contained in:
parent
0396ca4110
commit
1243326b91
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ homepage="http://swift.im/"
|
|||
distfiles="http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2"
|
||||
checksum=2e48f081d337f471b4eba7c0c807a7b640216a76ed3568ced55abb5b927c7fd2
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-legacy-compat"
|
||||
fi
|
||||
|
||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1"
|
||||
_scons_options="assertions=1 build_examples=1 max_jobs=1 optimize=1 debug=0 swiften_dll=1"
|
||||
|
||||
|
|
Loading…
Reference in a new issue