Link against c++fs on darwin

Required by the old clang version
This commit is contained in:
Théophane Hufschmitt 2022-04-13 11:52:39 +02:00
parent c5db1821a9
commit a4f0fd633c

View file

@ -11,3 +11,7 @@ libutil_LDFLAGS += -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) $(LIBARCHIVE_LIBS)
ifeq ($(HAVE_LIBCPUID), 1) ifeq ($(HAVE_LIBCPUID), 1)
libutil_LDFLAGS += -lcpuid libutil_LDFLAGS += -lcpuid
endif endif
ifdef HOST_DARWIN
libutil_LDFLAGS += -lc++fs
endif