Skip to content

Commit

Permalink
Problem: macos-latest with libsodium compilation failed
Browse files Browse the repository at this point in the history
Solution: Add libsodium dependencies to Makefile.am file.
  • Loading branch information
githejie authored and bluca committed Aug 2, 2024
1 parent 59c9122 commit b95d949
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,11 @@ unittests_unittest_curve_encoding_LDADD = \
$(top_builddir)/src/.libs/libzmq.a \
${src_libzmq_la_LIBADD} \
$(CODE_COVERAGE_LDFLAGS)

if USE_LIBSODIUM
unittests_unittest_curve_encoding_CPPFLAGS += ${sodium_CFLAGS}
unittests_unittest_curve_encoding_LDADD += ${sodium_LIBS}
endif
endif

check_PROGRAMS = ${test_apps}
Expand Down

0 comments on commit b95d949

Please sign in to comment.