diff options
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/Makefile b/src/libutil/Makefile index b604c0078709..83bd05f281d6 100644 --- a/src/libutil/Makefile +++ b/src/libutil/Makefile @@ -4,12 +4,12 @@ libutil_NAME = libnixutil libutil_DIR := $(d) -libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc +libutil_SOURCES := $(wildcard $(d)/*.cc) ifeq ($(HAVE_OPENSSL), 1) libutil_LDFLAGS = $(OPENSSL_LIBS) else - libutil_SOURCES += md5.c sha1.c sha256.c + libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c endif libutil_LIBS = libformat |