1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-10 19:23:41 +01:00

Fix build and distribution on the FreeBSD.

Signed-off-by: Konstantin Belousov <kostikbel@gmail.com>
This commit is contained in:
Konstantin Belousov 2011-03-22 21:29:40 +02:00 committed by Arun Sharma
parent 0613d4c680
commit 04fc88fa31
3 changed files with 9 additions and 0 deletions

View file

@ -263,6 +263,12 @@ PKG_MINOR=pkg_minor
PKG_EXTRA=pkg_extra PKG_EXTRA=pkg_extra
PKG_MAINTAINER=pkg_maintainer PKG_MAINTAINER=pkg_maintainer
old_LIBS="$LIBS"
LIBS=""
AC_SEARCH_LIBS(backtrace, execinfo)
BACKTRACELIB="$LIBS"
LIBS="$old_LIBS"
AC_SUBST(build_arch) AC_SUBST(build_arch)
AC_SUBST(target_os) AC_SUBST(target_os)
AC_SUBST(arch) AC_SUBST(arch)
@ -276,6 +282,7 @@ AC_SUBST(PKG_MAINTAINER)
AC_SUBST(enable_cxx_exceptions) AC_SUBST(enable_cxx_exceptions)
AC_SUBST(enable_debug_frame) AC_SUBST(enable_debug_frame)
AC_SUBST(DLLIB) AC_SUBST(DLLIB)
AC_SUBST(BACKTRACELIB)
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh
doc/Makefile doc/common.tex include/libunwind-common.h) doc/Makefile doc/common.tex include/libunwind-common.h)

View file

@ -488,6 +488,7 @@ EXTRA_DIST = $(libunwind_la_SOURCES_arm) \
$(libunwind_la_SOURCES_ia64) \ $(libunwind_la_SOURCES_ia64) \
$(libunwind_la_SOURCES_mips) \ $(libunwind_la_SOURCES_mips) \
$(libunwind_la_SOURCES_x86) \ $(libunwind_la_SOURCES_x86) \
$(libunwind_la_SOURCES_os_freebsd) \
$(libunwind_la_SOURCES_os_linux) \ $(libunwind_la_SOURCES_os_linux) \
$(libunwind_la_SOURCES_os_hpux) \ $(libunwind_la_SOURCES_os_hpux) \
$(libunwind_la_SOURCES_common) \ $(libunwind_la_SOURCES_common) \

View file

@ -133,6 +133,7 @@ test_proc_info_LDADD = $(LIBUNWIND)
test_static_link_LDADD = $(LIBUNWIND) test_static_link_LDADD = $(LIBUNWIND)
test_strerror_LDADD = $(LIBUNWIND) test_strerror_LDADD = $(LIBUNWIND)
rs_race_LDADD = $(LIBUNWIND) -lpthread rs_race_LDADD = $(LIBUNWIND) -lpthread
test_varargs_LDADD = @BACKTRACELIB@
Gtest_bt_LDADD = $(LIBUNWIND) Gtest_bt_LDADD = $(LIBUNWIND)
Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread