Skip to content

Commit a12270e

Browse files
linux as well
1 parent e27bd79 commit a12270e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ def build_extension(self, ext):
386386
# And then we have fun failures due to lib mismatch.
387387
# I could not find a cleaner way, so lets just hook into linker command and make sure
388388
# our libs appear before other libs.
389-
if sys.platform == 'darwin' and using_libcrypto() and not using_system_libs() and not using_system_libcrypto():
389+
if ((sys.platform == 'darwin' or sys.platform == 'linux')
390+
and using_libcrypto() and not using_system_libs() and not using_system_libcrypto()):
390391

391392
orig_linker_so = self.compiler.linker_so[:]
392393

0 commit comments

Comments
 (0)