Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/macros.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,9 @@ AC_DEFUN([AX_PROG_DYNINST],
dnl Check for stackwalk within DynInst (is Dyninst > 7.0.1?)
AM_CONDITIONAL(DYNINST_HAVE_STACKWALK, test -f "${DYNINST_LIBSDIR}/libstackwalk.so")

dnl Check for DynInst flavour: Lite or Full?
AM_CONDITIONAL(DYNINST_IS_LITE, test -f "${DYNINST_LIBSDIR}/libsymLite.so")

dnl Did the checks pass?
AM_CONDITIONAL(HAVE_DYNINST, test "${DYNINST_INSTALLED}" = "yes")

Expand Down
9 changes: 8 additions & 1 deletion src/launcher/dyninst/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ DYNINST_EXTRA_LIBS += -lpatchAPI
endif
# Step #2, add pcontrol, stackwalk, dynDwarf/Elf and symLite
if DYNINST_HAVE_STACKWALK
DYNINST_EXTRA_LIBS += -lpcontrol -lstackwalk -lcommon -ldynDwarf -ldynElf -lsymLite
DYNINST_EXTRA_LIBS += -lpcontrol -lstackwalk -lcommon -ldynDwarf -ldynElf
endif
# Step #3, add symLite if DynInst was configured with LIGHTWEIGHT_SYMTAB=On, all
# other required libraries otherwise.
if DYNINST_IS_LITE
DYNINST_EXTRA_LIBS += -lsymLite
else
DYNINST_EXTRA_LIBS += -lsymtabAPI
endif

extrae_SOURCES = extrae.C \
Expand Down