ldb: fix build on musl
This commit is contained in:
parent
4a285c912b
commit
f9a24f3fb4
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue