prog.mk: look for libxbps in $(TOPDIR)/lib first rather than $(PREFIX)/lib.

--HG--
branch : progress_callback
This commit is contained in:
Juan RP 2011-01-23 14:41:07 +01:00
parent f6ab3a28c3
commit c7f7903862

View File

@ -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 $@