From c7db82017ed92473a80b23482b4fd9f2cdb45f6b Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Fri, 17 Mar 2023 14:25:26 -0700 Subject: [PATCH] remove hack This hack was a workaround to a long-standing bug where we had our include-paths and linker-paths in the wrong order. Now that it's fixed, this hackery isn't necessary. --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index 955526d23..d7c62918a 100644 --- a/setup.py +++ b/setup.py @@ -306,9 +306,6 @@ def awscrt_ext(): extra_link_args += ['-framework', 'Security'] else: # unix - # linker will prefer shared libraries over static if it can find both. - # force linker to choose static variant by using using "-l:libcrypto.a" syntax instead of just "-lcrypto". - libraries = [':lib{}.a'.format(x) for x in libraries] # OpenBSD doesn't have librt; functions are found in libc instead. if not sys.platform.startswith('openbsd'): libraries += ['rt']