Skip to content

Commit

Permalink
Merge pull request #41 from alaindargelas/dwarf_path
Browse files Browse the repository at this point in the history
Dwarf path
  • Loading branch information
akashlevy authored Jan 14, 2025
2 parents 22c0126 + 2959f37 commit 8c44af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ AWK ?= awk

ifeq ($(OS), Linux)
LIBS += -ldw # SILIMATE: support for backward-cpp
CXXFLAGS += -DBACKWARD_HAS_DW # SILIMATE: support for backward-cpp
CXXFLAGS += -I/usr/include/libdwarf/ -DBACKWARD_HAS_DW # SILIMATE: support for backward-cpp
endif

ifeq ($(OS), Darwin)
Expand All @@ -148,7 +148,7 @@ PKG_CONFIG_PATH := $(BREW_PREFIX)/tcl-tk/lib/pkgconfig:$(PKG_CONFIG_PATH)
export PATH := $(BREW_PREFIX)/bison/bin:$(BREW_PREFIX)/gettext/bin:$(BREW_PREFIX)/flex/bin:$(BREW_PREFIX)/m4/bin:$(PATH)
export LIBRARY_PATH := $(BREW_PREFIX)/dwarfutils/lib:$(BREW_PREFIX)/libelf/lib:$(LIBRARY_PATH)
LIBS += -ldwarf -lelf # SILIMATE: support for backward-cpp
CXXFLAGS += -DBACKWARD_HAS_DWARF # SILIMATE: support for backward-cpp
CXXFLAGS += -I/usr/include/libdwarf/ -DBACKWARD_HAS_DWARF # SILIMATE: support for backward-cpp

# macports search paths
else ifneq ($(shell :; command -v port),)
Expand Down

0 comments on commit 8c44af4

Please sign in to comment.