From c7f7903862377f3485c5fca5ce6f05da242457e8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Jan 2011 14:41:07 +0100 Subject: [PATCH] prog.mk: look for libxbps in $(TOPDIR)/lib first rather than $(PREFIX)/lib. --HG-- branch : progress_callback --- prog.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prog.mk b/prog.mk index 238f04ed..c77d99d2 100644 --- a/prog.mk +++ b/prog.mk @@ -34,11 +34,11 @@ endif $(BIN).static: $(OBJS) @printf " [CCLD]\t\t$@\n" - ${SILENT}$(CC) -static $^ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ - $(STATIC_LIBS) -o $@ + ${SILENT}$(CC) -static $^ $(CPPFLAGS) -L$(TOPDIR)/lib \ + $(CFLAGS) $(LDFLAGS) $(STATIC_LIBS) -o $@ $(BIN): $(OBJS) @printf " [CCLD]\t\t$@\n" - ${SILENT}$(CC) $^ $(CPPFLAGS) $(CFLAGS) $(PROG_CFLAGS) \ - $(LDFLAGS) $(PROG_LDFLAGS) -o $@ + ${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib $(CFLAGS) \ + $(PROG_CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) -o $@