-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457) #29457
Conversation
setup.py
Outdated
else: | ||
self.missing.append('zlib') | ||
if MACOS: | ||
extra_link_args = ('-Wl,-search_paths_first',) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could possibly drop the search_paths_first
special case code. That used to be necessary to have the macOS linker search for shared libraries in all search paths first before searching for static libs and this was potentially useful if you were trying to override a third-party library provided by macOS. But the default changed as of Xcode 4, according to the macOS ld(1) man page which was around MacOS 10.6, so that search_paths_first
is now the normal behavior. Certainly it shouldn't need to be there if it is possible to specify lib paths via pkg-config
. @ronaldoussoren, your thoughts?
Signed-off-by: Christian Heimes <christian@python.org>
Signed-off-by: Christian Heimes christian@python.org
https://bugs.python.org/issue45743