ldb: fix build on musl

This commit is contained in:
q66 2020-01-02 18:03:11 +01:00
parent 4a285c912b
commit f9a24f3fb4
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ checksum=232e54b87c53210a6861424ad411b04dbfa0f2ca4bc463aefea188158e0cc963
nocross="see srcpkgs/tdb (cross-32bit.answers)."
# workaround broken uintptr_t definition on musl
if [ "$XBPS_TARGET_WORDSIZE" = "64" -a "$XBPS_TARGET_LIBC" = "musl" ]; then
CFLAGS+=" -D__WORDSIZE=64"
fi
ldb-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"