Skip to content
Permalink
Browse files

Experiment with dynamic libunwind

  • Loading branch information...
staticfloat committed Mar 28, 2019
1 parent 2e19c9b commit a4dbf210b07ba067d4d269d27a1325151782c747
Showing with 3 additions and 2 deletions.
  1. +2 −2 Make.inc
  2. +1 −0 Makefile
@@ -815,10 +815,10 @@ JCPPFLAGS+=-DSYSTEM_LIBUNWIND
endif
else
ifeq ($(OS),Darwin)
LIBUNWIND:=$(build_libdir)/libosxunwind.a
LIBUNWIND:=-L$(build_libdir) -losxunwind
JCPPFLAGS+=-DLIBOSXUNWIND
else
LIBUNWIND:=$(build_libdir)/libunwind-generic.a $(build_libdir)/libunwind.a
LIBUNWIND:=-L$(build_libdir) -lunwind-generic -lunwind
endif
endif
endif
@@ -170,6 +170,7 @@ JL_PRIVATE_LIBS-$(USE_SYSTEM_LIBSSH2) += libssh2
JL_PRIVATE_LIBS-$(USE_SYSTEM_MBEDTLS) += libmbedtls libmbedcrypto libmbedx509
JL_PRIVATE_LIBS-$(USE_SYSTEM_CURL) += libcurl
JL_PRIVATE_LIBS-$(USE_SYSTEM_LIBGIT2) += libgit2
JL_PRIVATE_LIBS-$(USE_SYSTEM_LIBUNWIND) += libunwind
ifeq ($(USE_LLVM_SHLIB),1)
JL_PRIVATE_LIBS-$(USE_SYSTEM_LLVM) += libLLVM libLLVM-6
endif

0 comments on commit a4dbf21

Please sign in to comment.
You can’t perform that action at this time.