Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: fix build failure #91

Closed
wants to merge 0 commits into from
Closed

cmake: fix build failure #91

wants to merge 0 commits into from

Conversation

razvanazamfirei
Copy link

After the addition of libsodium aegis, building fizz fails with the following message:

  Undefined symbols for architecture arm64:
    "_softaes_block_encrypt", referenced from:
        _aegis128l_update in aead_aegis128l_soft.c.o
        _aegis256_encrypt_detached in aead_aegis256_soft.c.o
        _aegis256_decrypt_detached in aead_aegis256_soft.c.o
        _aegis256_update in aead_aegis256_soft.c.o
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

It appears to be caused by libsodium-aegis/private/softaes.c not being included in FIZZ_SOURCES. This PR fixes that.

Also see: Homebrew/homebrew-core#133417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants