Skip to content

Commit

Permalink
Use libbacktrace on cross-compilation to Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Jan 2, 2020
1 parent 808abbb commit a1a2c80
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ ifndef BACKTRACE
BACKTRACE = 1
endif
endif
ifdef BACKTRACE
# Also enable libbacktrace on cross-compilation to Windows
ifndef LIBBACKTRACE
ifneq (,$(findstring mingw32,$(CROSS)))
LIBBACKTRACE = 1
endif
endif
endif

ifeq ($(RUNTESTS), 1)
TESTS = tests
Expand Down

0 comments on commit a1a2c80

Please sign in to comment.