Problem: macos-latest with libsodium compilation failed

Solution: Add libsodium dependencies to Makefile.am file.
This commit is contained in:
githejie 2024-08-02 16:33:09 +08:00 committed by Luca Boccassi
parent 59c91227b4
commit b95d94935e

View File

@ -1418,6 +1418,11 @@ unittests_unittest_curve_encoding_LDADD = \
$(top_builddir)/src/.libs/libzmq.a \ $(top_builddir)/src/.libs/libzmq.a \
${src_libzmq_la_LIBADD} \ ${src_libzmq_la_LIBADD} \
$(CODE_COVERAGE_LDFLAGS) $(CODE_COVERAGE_LDFLAGS)
if USE_LIBSODIUM
unittests_unittest_curve_encoding_CPPFLAGS += ${sodium_CFLAGS}
unittests_unittest_curve_encoding_LDADD += ${sodium_LIBS}
endif
endif endif
check_PROGRAMS = ${test_apps} check_PROGRAMS = ${test_apps}