Skip to content

Modified documentation and Cargo.toml for building on aarch64 macOS.#94

Open
AngeloD2022 wants to merge 4 commits intovipyrsec:mainfrom
AngeloD2022:yara-build-macos-aarch64
Open

Modified documentation and Cargo.toml for building on aarch64 macOS.#94
AngeloD2022 wants to merge 4 commits intovipyrsec:mainfrom
AngeloD2022:yara-build-macos-aarch64

Conversation

@AngeloD2022
Copy link
Copy Markdown
Member

No description provided.

Additional build documentation for aarch64 macOS

Signed-off-by: Angelo D <43831545+AngeloD2022@users.noreply.github.com>
Signed-off-by: Angelo D <43831545+AngeloD2022@users.noreply.github.com>
@sid-maddy
Copy link
Copy Markdown
Contributor

@AngeloD2022, @Robin5605, is this still needed?

Copy link
Copy Markdown
Member

@Robin5605 Robin5605 left a comment

Choose a reason for hiding this comment

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

Using the vendored feature, I was able to compile without setting YARA_INCLUDE_DIR, YARA_LIBRARY_PATH, or YARA_OPENSSL_DIR. According to the yara-sys documentation, you only need these if you're linking against pre-existing yara libraries - which isn't the case if you're using vendored (which builds and links for you).

Can you confirm this? If so, we can leave out the part of the documentation change that recommends including those three environment variables.

@sid-maddy
Copy link
Copy Markdown
Contributor

Using the vendored feature, I was able to compile without setting YARA_INCLUDE_DIR, YARA_LIBRARY_PATH, or YARA_OPENSSL_DIR.

@Robin5605, did you try building the container image with this?

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.

3 participants