Consistent dependency searching

This commit is contained in:
Charlie Curtsinger 2015-04-10 11:25:34 -04:00
parent 625fe95a33
commit 0744e2a7a1

View File

@ -20,7 +20,7 @@ $(ROOT)/deps/libelfin:
@cd $(ROOT)/deps/libelfin; make MAKEFLAGS="-j1"
# Update build settings to include libelfin libraries
ifneq (,$(findstring $(ROOT)/deps/libelfin,$(PREREQS)))
ifneq (,$(findstring libelfin,$(PREREQS)))
LDFLAGS += -L$(ROOT)/deps/libelfin/elf \
-L$(ROOT)/deps/libelfin/dwarf \
-Wl,--whole-archive -lelf++ -ldwarf++ -Wl,--no-whole-archive