summaryrefslogtreecommitdiff
blob: 796acf09155c3fa22c39d77ea51f2554bbc65409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
musl targetsdon't define __foo_t

https://bugs.gentoo.org/716764
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,9 @@ case $host_os in
 	darwin*)
 	CFLAGS="$CFLAGS -D__off_t=off_t"
 	;;
+	*musl*)
+	CFLAGS="$CFLAGS -D__off_t=off_t"
+	;;
 esac
 CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS"
 LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL"