Skip to content

Commit 82123e2

Browse files
committed
idk
1 parent 5472d32 commit 82123e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hatch_build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ def initialize(self, version: str, data: dict):
3232
if not sysconfig.is_python_build():
3333
compiler.add_library_dir(sysconfig.get_config_var('LIBDIR'))
3434
else:
35-
compiler.add_library_dir.append('.')
35+
compiler.add_library_dir('.')
3636

3737
compiler.add_include_dir(
3838
os.path.join(sysconfig.get_path("platstdlib"), "lib")
3939
)
40+
compiler.add_library("libpython")
4041
compiler.add_include_dir(sysconfig.get_path("include"))
4142
compiler.define_macro("PY_SSIZE_T_CLEAN")
4243

0 commit comments

Comments
 (0)