lib: move conf parsing to lib/conf.c and refactor to not rely on getcwd/chdir

This fixes https://github.com/voidlinux/xbps/issues/158
This commit is contained in:
Duncaen
2019-03-06 14:34:23 +01:00
parent fa5911bb00
commit 85bf13f138
7 changed files with 587 additions and 446 deletions

View File

@@ -44,6 +44,7 @@ OBJS += plist_remove.o plist_fetch.o util.o util_hash.o
OBJS += repo.o repo_pkgdeps.o repo_sync.o
OBJS += rpool.o cb_util.o proplib_wrapper.o
OBJS += package_alternatives.o
OBJS += conf.o log.o
OBJS += $(EXTOBJS) $(COMPAT_OBJS)
.PHONY: all