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

build: fix libffi building to the wrong directory (https://github.com/saghul/txiki.js/issues/453) #454

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

ItsTheWhale
Copy link
Contributor

On systems where gcc --print-multi-os-directory outputs something that is not ../lib, Libffi installs to the wrong location (e.g. lib64) where CMake cannot find it and errors, breaking the build. This fix disables placing binaries in other places with the --disable-multi-os-directory configuration flag, forcing Libffi to install to lib.
This fix has no effect on systems where Libffi already installs to lib, and therefore does not break anything.

Copy link
Owner

@saghul saghul left a comment

Choose a reason for hiding this comment

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

Thank you!

@saghul saghul merged commit d5523c9 into saghul:master Feb 19, 2024
11 checks passed
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