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

Fix exiv2 0.28 compatibility #31

Merged
merged 7 commits into from
Jan 8, 2024
Merged

Fix exiv2 0.28 compatibility #31

merged 7 commits into from
Jan 8, 2024

Conversation

viraptor
Copy link
Contributor

@viraptor viraptor commented Jan 5, 2024

Allow compiling with versions both < 0.27 and >= 0.28.
Ensure that if the library is configured with libssh and/or libcurl, we include those in the compilation as well.

Closes #29

Copy link

@petervandoros petervandoros left a comment

Choose a reason for hiding this comment

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

Legend! 👍

mkmf documentation claims that pkg_config will try exiv2-config and then
pkg-config, but that's not true. At least in version 3.1.3, only
exiv2-config is searched for.

Since exiv2 doesn't generate its own wrapper, force pkg-config instead.
Also remove the unused / not working flags from MAKEFILE_CONFIG.
@viraptor viraptor merged commit 7386c89 into master Jan 8, 2024
10 checks passed
@viraptor viraptor deleted the viraptor/fix-0-28-compat branch January 8, 2024 06:17
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.

Broken after exiv2-0.28 update
2 participants