Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenrkell committed Apr 16, 2018
2 parents 3e8fa41 + 96c1201 commit 22b88e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 22b88e5

Please sign in to comment.