We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678e38a commit a04913aCopy full SHA for a04913a
distutils/unixccompiler.py
@@ -13,6 +13,8 @@
13
* link shared library handled by 'cc -shared'
14
"""
15
16
+from __future__ import annotations
17
+
18
import itertools
19
import os
20
import re
@@ -281,7 +283,7 @@ def _is_gcc(self):
281
283
compiler = os.path.basename(shlex.split(cc_var)[0])
282
284
return "gcc" in compiler or "g++" in compiler
285
- def runtime_library_dir_option(self, dir):
286
+ def runtime_library_dir_option(self, dir: str) -> str | list[str]:
287
# XXX Hackish, at the very least. See Python bug #445902:
288
# https://bugs.python.org/issue445902
289
# Linkers on different platforms need different options to
0 commit comments