mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ldb: fix build on musl
This commit is contained in:
parent
4a285c912b
commit
f9a24f3fb4
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ checksum=232e54b87c53210a6861424ad411b04dbfa0f2ca4bc463aefea188158e0cc963
|
||||||
|
|
||||||
nocross="see srcpkgs/tdb (cross-32bit.answers)."
|
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() {
|
ldb-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue