Skip to content

Commit

Permalink
Added -lelf to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayBrahmakshatriya committed Dec 19, 2022
1 parent e0738c5 commit 6207197
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 @@ -92,7 +92,7 @@ INCLUDE_FLAGS=-I$(INCLUDE_DIR) -I$(BUILD_DIR)/gen_headers/

ifeq ($(RECOVER_VAR_NAMES),1)
CFLAGS_INTERNAL+=-DRECOVER_VAR_NAMES
LINKER_FLAGS+=-ldwarf -lunwind
LINKER_FLAGS+=-ldwarf -lelf -lunwind
ifneq ($(LIBUNWIND_PATH),_UNSET_)
INCLUDE_FLAGS+=-I $(LIBUNWIND_PATH)/include
LINKER_FLAGS+=-L $(LIBUNWIND_PATH)/lib
Expand All @@ -110,7 +110,7 @@ endif
endif

ifeq ($(D2X_DEBUGGING),1)
LINKER_FLAGS+=-L$(D2X_PATH)/build -ldwarf
LINKER_FLAGS+=-L$(D2X_PATH)/build -ldwarf -lelf
CFLAGS_INTERNAL+=-DD2X_DEBUGGING
INCLUDE_FLAGS+=-I$(D2X_PATH)/include
endif
Expand Down

0 comments on commit 6207197

Please sign in to comment.