summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d066916e..944ae739 100644
--- a/Makefile
+++ b/Makefile
@@ -205,6 +205,11 @@ ifdef HAVE_MACOS
CFLAGS += -DHAVE_MACOS -Wno-deprecated-declarations
endif
+# Musl doesn't have execinfo.h.
+ifndef HAVE_MUSL
+ CFLAGS += -DHAVE_EXECINFO_H
+endif
+
# And a few more default utilities
LD = ${CC}
CXX ?= g++