mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
squeak: fix build on musl
This commit is contained in:
parent
19a48f1b85
commit
441e1f36f7
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ homepage="http://squeakvm.org"
|
||||||
distfiles="http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz"
|
distfiles="http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz"
|
||||||
checksum=3db6d12ea223e5bc49f52af7f6f832e383a3a006a53bc8a87f6469e1af5dfc2e
|
checksum=3db6d12ea223e5bc49f52af7f6f832e383a3a006a53bc8a87f6469e1af5dfc2e
|
||||||
|
|
||||||
|
# a terrible hack around terrible code
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
CFLAGS+=" -D__NEED_struct__IO_FILE"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense unix/doc/LICENSE
|
vlicense unix/doc/LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue