mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
zstd: Fix compilation on uClibc-ng
uClibc-ng defines __GLIBCC__ and does not compile in execinfo.h. Disable it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/programs/fileio.c
|
||||
+++ b/programs/fileio.c
|
||||
@@ -175,7 +175,7 @@ static void clearHandler(void)
|
||||
|
||||
#if !defined(BACKTRACE_ENABLE)
|
||||
/* automatic detector : backtrace enabled by default on linux+glibc and osx */
|
||||
-# if (defined(__linux__) && defined(__GLIBC__)) \
|
||||
+# if (defined(__linux__) && (defined(__GLIBC__) && !defined(__UCLIBC__))) \
|
||||
|| (defined(__APPLE__) && defined(__MACH__))
|
||||
# define BACKTRACE_ENABLE 1
|
||||
# else
|
||||
Reference in New Issue
Block a user