Skip to content

Conversation

@defnax
Copy link
Contributor

@defnax defnax commented Sep 9, 2025

with this changes it gets work with botan@2 bigint issue but on local mac machine
but on workflow installed botan include & lib are installed on different path not sure how we can handle this?

image

/opt/homebrew/Cellar/botan@2/2.19.5

For compilers to find botan@2 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/botan@2/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/botan@2/include"

@defnax
Copy link
Contributor Author

defnax commented Sep 9, 2025

@JohannesKleine

# botan
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_INCLUDE_DIR=$$clean_path(/usr/local/opt/botan@2/include/botan-2)"
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_LIBRARY=$$clean_path(/usr/local/opt/botan@2/lib/libbotan-2.a)"
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_INCLUDE_DIR=$$clean_path(/usr/local/Cellar/botan@2/2.19.5/include/botan-2)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a MacOS specialist, but it feels not clean at all to include a version number for a system installed lib in a path.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants