From 6207197aba519f391a056f6d7fac063715bc3c66 Mon Sep 17 00:00:00 2001 From: Ajay Brahmakshatriya Date: Mon, 19 Dec 2022 14:31:00 -0500 Subject: [PATCH] Added -lelf to makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d8cf20..e4e8f3d 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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