diff options
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/Makefile.new | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/Makefile.new b/src/libutil/Makefile.new index 88d43f0ae..7871a4ddb 100644 --- a/src/libutil/Makefile.new +++ b/src/libutil/Makefile.new @@ -4,7 +4,9 @@ libutil_DIR := $(d) libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc -ifneq ($(HAVE_OPENSSL), 1) +ifeq ($(HAVE_OPENSSL), 1) +libutil_LDFLAGS = $(OPENSSL_LIBS) +else libutil_SOURCES += md5.c sha1.c sha256.c endif |