From 96c12014816d2f8d8c80dca46bf41d46ac5bbd71 Mon Sep 17 00:00:00 2001 From: Stephen Kell Date: Sat, 14 Apr 2018 15:01:12 +0100 Subject: [PATCH] Update to find relf.h in librunt, not liballocs. --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index ae8d92d..602d8da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ CC ?= gcc LDFLAGS += -L`pwd` -Wl,-R`pwd` LDLIBS += -ldl -lelf CFLAGS += -std=c11 -g -fPIC -Wextra #-DHAVE_ELF_SETSHSTRNDX -CFLAGS += -I$(LIBALLOCS_BASE)/include +CFLAGS += -I$(LIBRUNT_BASE)/include CFLAGS += -I../include ifneq ($(DEBUG),1) CFLAGS += -DNDEBUG @@ -31,7 +31,7 @@ libdlbind.so: libdlbind.o libdlbind.a: libdlbind.o symhash.o elfproto.o ar r "$@" $^ -# Use the static version of libld for now, so we can ltrace -lelf +# Use the static version of libdlbind for now, so we can ltrace -lelf test: test.c libdlbind.a $(CC) $(CFLAGS) $(LDFLAGS) -o "$@" "$<" libdlbind.a $(LDLIBS) #/usr/lib/libelf.so.0.8.13