Skip to content

Commit

Permalink
ci(austinp): link libbfd statically
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 committed Oct 15, 2022
1 parent d0896a4 commit 8bee32b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ AC_CHECK_HEADER(libunwind-ptrace.h, [
AC_CHECK_LIB(bfd, bfd_openr, [
AC_DEFINE([HAVE_BFD], [1], ["Compile with BFD support"])
AUSTINP_CFLAGS+=" -DHAVE_BFD"
AUSTINP_LDADD+=" -lbfd"
AUSTINP_LDADD+=" -l:libbfd.a -l:libz.a"
echo "enabling symbol resolution support for austinp"
], [
echo "austinp will be built without symbol resolution support: missing libbfd"
])
AC_CHECK_LIB(iberty, bfd_demangle, [
AC_DEFINE([HAVE_LIBERTY], [1], ["Compile with C++ name demangling support"])
AUSTINP_CFLAGS+=" -DHAVE_LIBERTY"
AUSTINP_LDADD+=" -l:libiberty.a"
echo "enabling C++ name demangling support for austinp"
], [
echo "austinp will be built without C++ names demangling support: missing libiberty"
Expand Down

0 comments on commit 8bee32b

Please sign in to comment.