libCello: unbreak musl
This commit is contained in:
parent
638fc9a929
commit
ef6ae86a29
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libcello'
|
||||
pkgname=libCello
|
||||
version=1.1.7
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Higher level programming in C"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.libcello.org/"
|
||||
|
@ -9,6 +9,11 @@ license="BSD"
|
|||
distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz"
|
||||
checksum=2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908
|
||||
|
||||
post_configure() {
|
||||
# There is no include <execinfo.h> in musl libc
|
||||
sed -e "s;defined(__unix__);(defined(__unix__) \&\& defined(__GLIBC__));" \
|
||||
-i src/Exception.c
|
||||
}
|
||||
do_build() {
|
||||
sed -i 's,CFLAGS =,CFLAGS +=,' Makefile
|
||||
make CC=$CC ${makejobs}
|
||||
|
|
Loading…
Reference in New Issue