zstd
zstd copied to clipboard
Building on MacOS 13 and targeting MacOS 11 and SDK 11.3 (or any other MacOS version) does not work
Describe the bug As of v1.5.6, the minos and sdk settings are no longer respected. This works on version 1.5.5.
(It is possible this is an interaction with MacPorts where I am building the library.
To Reproduce Steps to reproduce the behavior:
- Install macports
-
echo 'macosx_deployment_target 11.0' | tee -a ${PREFIX}/etc/macports/macports.conf
echo 'macosx_sdk_version 11.3' | tee -a ${PREFIX}/etc/macports/macports.conf
-
sudo port install -sv zstd
- look in macports
lib
directory and runotool -l libzstd.1.dylib
- see output includes
minos
andsdk
of the current OS, rather thanminos 11.0
andsdk 11.3
Expected behavior Should correctly set the OS and SDK versions in the dylib.
Screenshots and charts If applicable, add screenshots and charts to help explain your problem.
Desktop (please complete the following information):
- OS: Mac
- Version 14.4.1
- Compiler clang
- Flags not sure
- Other relevant hardware specs not relevant
- Build system CMAKE
Additional context Downstream bug reports: https://trac.macports.org/ticket/69944#comment:1 https://gitlab.gnome.org/GNOME/gimp/-/issues/11483
Isn't that a MacPorts
issue ?
Isn't that a MacPorts issue ?
I doubt it because other than trivial changes to the MacPorts build file (Portfile
), the build is unchanged between 1.5.5 and 1.5.6. And 1.5.5 doesn't have this problem. It could potentially be MacPorts if they are using a non-standard way of indicating the OS and SDK, however the hundreds of other packages on MacPorts that GIMP uses, don't have this problem.