-
Notifications
You must be signed in to change notification settings - Fork 78
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
Different library versions in cmake and autotools builds #189
Comments
* switch to cmake 1.1 portgroup
Well, not too sure what to do about this one. @eustas any idea? |
I don't even know where that "version 3" came from. This is what was passed in the Autotools times: |
Hi. Sorry I've been offline for ~3 weeks. Will take a look soon. |
So you were passing Therefore, specifying |
Since CMake calculates / sets version numbers, it is possible to add a hack when OS == Darwin. |
I guess the only ones who are affected by this change are software distributors for Apple, e.g. like Macports. But since we have already released with this change, rebuilds have become necessary (and have been executed) anyway, so this ship has sailed, I'm afraid. |
faad2 2.10.1 built with autotools on macOS has this library information (viewed with
otool -L
):Note specifically the library's current minor version and compatibility minor version.
faad2 2.11.0 built with cmake on macOS has this library information:
Note how even though this is a later version of faad2, its library's minor versions are lower.
This is one of those problems with maintaining two build systems. It's a lot of work to ensure that they both function the same. You may want to consider dropping all but one build system.
The text was updated successfully, but these errors were encountered: