mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-10 11:13:43 +01:00
Fix build and distribution on the FreeBSD.
Signed-off-by: Konstantin Belousov <kostikbel@gmail.com>
This commit is contained in:
parent
0613d4c680
commit
04fc88fa31
3 changed files with 9 additions and 0 deletions
|
@ -263,6 +263,12 @@ PKG_MINOR=pkg_minor
|
|||
PKG_EXTRA=pkg_extra
|
||||
PKG_MAINTAINER=pkg_maintainer
|
||||
|
||||
old_LIBS="$LIBS"
|
||||
LIBS=""
|
||||
AC_SEARCH_LIBS(backtrace, execinfo)
|
||||
BACKTRACELIB="$LIBS"
|
||||
LIBS="$old_LIBS"
|
||||
|
||||
AC_SUBST(build_arch)
|
||||
AC_SUBST(target_os)
|
||||
AC_SUBST(arch)
|
||||
|
@ -276,6 +282,7 @@ AC_SUBST(PKG_MAINTAINER)
|
|||
AC_SUBST(enable_cxx_exceptions)
|
||||
AC_SUBST(enable_debug_frame)
|
||||
AC_SUBST(DLLIB)
|
||||
AC_SUBST(BACKTRACELIB)
|
||||
|
||||
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh
|
||||
doc/Makefile doc/common.tex include/libunwind-common.h)
|
||||
|
|
|
@ -488,6 +488,7 @@ EXTRA_DIST = $(libunwind_la_SOURCES_arm) \
|
|||
$(libunwind_la_SOURCES_ia64) \
|
||||
$(libunwind_la_SOURCES_mips) \
|
||||
$(libunwind_la_SOURCES_x86) \
|
||||
$(libunwind_la_SOURCES_os_freebsd) \
|
||||
$(libunwind_la_SOURCES_os_linux) \
|
||||
$(libunwind_la_SOURCES_os_hpux) \
|
||||
$(libunwind_la_SOURCES_common) \
|
||||
|
|
|
@ -133,6 +133,7 @@ test_proc_info_LDADD = $(LIBUNWIND)
|
|||
test_static_link_LDADD = $(LIBUNWIND)
|
||||
test_strerror_LDADD = $(LIBUNWIND)
|
||||
rs_race_LDADD = $(LIBUNWIND) -lpthread
|
||||
test_varargs_LDADD = @BACKTRACELIB@
|
||||
|
||||
Gtest_bt_LDADD = $(LIBUNWIND)
|
||||
Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread
|
||||
|
|
Loading…
Reference in a new issue