-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] glib/2.72.0: os.version not applied on MacOS #10281
Comments
The setting |
@uilianries What's the correct approach of passing |
fixes: ld: warning: object file (.../lib/libboost_iostreams.a[6](zlib.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[2](thread.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[3](once.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) see: conan-io/conan-center-index#12328 conan-io/conan-center-index#20492 conan-io/conan-center-index#10281
@battlmonstr Hello, I commented how to inject compiler flags here: #20492 (comment) It will not change your package ID. To change the package ID when using
Still, you can add |
fixes: ld: warning: object file (.../lib/libboost_iostreams.a[6](zlib.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[2](thread.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[3](once.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) see: conan-io/conan-center-index#12328 conan-io/conan-center-index#20492 conan-io/conan-center-index#10281
fixes: ld: warning: object file (.../lib/libboost_iostreams.a[6](zlib.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[2](thread.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) ld: warning: object file (.../lib/libboost_thread.a[3](once.o)) was built for newer 'macOS' version (14.0) than being linked (13.3) see: conan-io/conan-center-index#12328 conan-io/conan-center-index#20492 conan-io/conan-center-index#10281
Package and Environment Details
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
conan install glib/2.72.0@ -s os.version=10.12 -o glib:shared=True --build missing
Details
By setting os.version on MacOS I would expect that by running otool on any glib library, e.g.
otool -l libglib-2.0.0.dylib
, I'd see an information that given library is supported from the desired version (10.12 in this case).Actual output:
I verified that
-mmacosx-version-min=10.12
flag is added tobuild.ninja
so I'm not sure what's going wrong here.The text was updated successfully, but these errors were encountered: