diff --git a/configure b/configure index c853a249..8208ce14 100755 --- a/configure +++ b/configure @@ -423,12 +423,10 @@ if $XCC -lfetch _$func.c -o _$func 2>/dev/null; then LIBFETCH=yes echo "USE_EXTERNAL_LIBFETCH = 1" >>$CONFIG_MK echo "LDFLAGS += -lfetch" >>$CONFIG_MK - echo "PROG_LDFLAGS += -lxbps -lfetch" >>$CONFIG_MK echo "STATIC_LIBS = \$(TOPDIR)/lib/libxbps.a -lfetch" >>$CONFIG_MK else LIBFETCH=no echo "CPPFLAGS += -I\$(TOPDIR)/lib/fetch" >>$CONFIG_MK - echo "PROG_LDFLAGS += \$(TOPDIR)/lib/libxbps.a" >>$CONFIG_MK echo "STATIC_LIBS = \$(TOPDIR)/lib/libxbps.a" >>$CONFIG_MK fi echo "$LIBFETCH." diff --git a/mk/prog.mk b/mk/prog.mk index d9bca2cd..88701e24 100644 --- a/mk/prog.mk +++ b/mk/prog.mk @@ -50,5 +50,5 @@ $(BIN).static: $(OBJS) $(BIN): $(OBJS) @printf " [CCLD]\t\t$@\n" ${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib $(CFLAGS) \ - $(PROG_CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) -o $@ + $(PROG_CFLAGS) $(LDFLAGS) -lxbps -o $@