summaryrefslogtreecommitdiff
path: root/3rdparty
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-03-30 06:15:11 +0300
committerAndrei Karas <akaras@inbox.ru>2020-03-30 06:35:10 +0300
commit7bd523fca9a4e86772e2c8b1a84377f64ea2d968 (patch)
treea57f656b470cc2d7e242bcfaf6b7bf24b05e3d58 /3rdparty
parent8578597b71e94cbd599eb211665b1f6a2dbc2bb0 (diff)
downloadhercules-7bd523fca9a4e86772e2c8b1a84377f64ea2d968.tar.gz
hercules-7bd523fca9a4e86772e2c8b1a84377f64ea2d968.tar.bz2
hercules-7bd523fca9a4e86772e2c8b1a84377f64ea2d968.tar.xz
hercules-7bd523fca9a4e86772e2c8b1a84377f64ea2d968.zip
Fix compilation with disabled libbacktrace
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/libbacktrace/Makefile.in40
1 files changed, 22 insertions, 18 deletions
diff --git a/3rdparty/libbacktrace/Makefile.in b/3rdparty/libbacktrace/Makefile.in
index 3be3bc86a..edb433a4e 100644
--- a/3rdparty/libbacktrace/Makefile.in
+++ b/3rdparty/libbacktrace/Makefile.in
@@ -19,24 +19,28 @@
# @configure_input@
-LIBBACKTRACE_OBJ = atomic.o \
- dwarf.o \
- fileline.o \
- posix.o \
- print.o \
- sort.o \
- state.o \
- backtrace.o \
- simple.o \
- nounwind.o \
- unknown.o \
- read.o \
- mmapio.o \
- alloc.o \
- mmap.o \
- @LIBBACKTRACE_FORMAT_FILE@
-LIBBACKTRACE_H = backtrace.h internal.h
-
+ifeq (@USE_LIBBACKTRACE@,yes)
+ LIBBACKTRACE_OBJ = atomic.o \
+ dwarf.o \
+ fileline.o \
+ posix.o \
+ print.o \
+ sort.o \
+ state.o \
+ backtrace.o \
+ simple.o \
+ nounwind.o \
+ unknown.o \
+ read.o \
+ mmapio.o \
+ alloc.o \
+ mmap.o \
+ @LIBBACKTRACE_FORMAT_FILE@
+ LIBBACKTRACE_H = backtrace.h internal.h
+else
+ LIBBACKTRACE_OBJ =
+ LIBBACKTRACE_H =
+endif
@SET_MAKE@