Added "--with-external-libfetch" to build against external libfetch.

This commit is contained in:
Juan RP
2011-01-12 17:06:53 +01:00
parent cb8464bdc6
commit 2206b27037
2 changed files with 33 additions and 12 deletions

View File

@@ -31,6 +31,11 @@ LIBFETCH_SHLIBCFLAGS = -fvisibility=hidden
LIBFETCH_INCS = fetch/common.h
LIBFETCH_GEN = fetch/ftperr.h fetch/httperr.h
ifdef USE_EXTERNAL_LIBFETCH
LIBFETCH_OBJS =
LDFLAGS += -lfetch
endif
# libxbps
OBJS = package_configure.o package_config_files.o package_orphans.o
OBJS += package_remove.o package_remove_obsoletes.o package_state.o