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

libzint isn't found even when installed #36

Open
fogti opened this issue Oct 5, 2023 · 2 comments
Open

libzint isn't found even when installed #36

fogti opened this issue Oct 5, 2023 · 2 comments

Comments

@fogti
Copy link

fogti commented Oct 5, 2023

libzint = compiler.find_library('libzint', dirs: '/app/lib')

I installed (lib)zint on freebsd, which even installs cmake config files, but it isn't found unless I change the line above to

libzint = dependency('zint')
@fogti
Copy link
Author

fogti commented Oct 5, 2023

(perhaps, the code should fallback to a possible global version if it can't find an internal one)

@fgaz
Copy link
Contributor

fgaz commented Apr 11, 2024

FYI in the NixOS package we have a similar workaround:

https://github.com/NixOS/nixpkgs/blob/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6/pkgs/by-name/pa/passes/package.nix#L31

Falling back to a global version may help other distros too

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

No branches or pull requests

2 participants