Skip to content

Commit 0fd2b94

Browse files
committed
Add more sysconfig variables
Related #262
1 parent d8e4609 commit 0fd2b94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graalpython/lib-graalpython/_sysconfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def _get_posix_vars():
8282
g['CC'] = __graalpython__.get_toolchain_tool_path('CC')
8383
g['CXX'] = toolchain_cxx if have_cxx else g['CC'] + ' --driver-mode=g++'
8484
g['OPT'] = "-stdlib=libc++ -DNDEBUG"
85+
g['INCLUDEPY'] = get_python_inc()
8586
g['CONFINCLUDEPY'] = get_python_inc()
8687
g['CPPFLAGS'] = '-I. -I' + get_python_inc()
8788
gnu_source = "-D_GNU_SOURCE=1"
@@ -114,4 +115,6 @@ def _get_posix_vars():
114115
g['ABIFLAGS'] = ""
115116
g['Py_DEBUG'] = 0
116117
g['Py_ENABLE_SHARED'] = 0
118+
g['LIBDIR'] = __graalpython__.capi_home
119+
g['LDLIBRARY'] = 'libpython.' + so_abi + so_ext
117120
return g

0 commit comments

Comments
 (0)