Skip to content

Commit 6c4992e

Browse files
committed
Add blocker to building shared libs.
1 parent 53c7c55 commit 6c4992e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/distutils/unixccompiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class UnixCCompiler(CCompiler):
6464

6565
if sys.platform[:6] == "darwin":
6666
executables['ranlib'] = ["ranlib"]
67-
67+
6868
# Nuitka: Make sure to use the original settings
6969
executables["compiler"] = sysconfig.get_config_var("CC")
7070
executables["compiler_so"] = sysconfig.get_config_var("CC")
@@ -186,6 +186,7 @@ def link(self, target_desc, objects,
186186
if target_desc == CCompiler.EXECUTABLE:
187187
linker = self.linker_exe[:]
188188
else:
189+
raise NotImplemented("No Shared Libraries in Nuitka-Python!")
189190
linker = self.linker_so[:]
190191
if target_lang == "c++" and self.compiler_cxx:
191192
# skip over environment variable settings if /usr/bin/env

0 commit comments

Comments
 (0)