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 d8e4609 commit 0fd2b94Copy full SHA for 0fd2b94
graalpython/lib-graalpython/_sysconfig.py
@@ -82,6 +82,7 @@ def _get_posix_vars():
82
g['CC'] = __graalpython__.get_toolchain_tool_path('CC')
83
g['CXX'] = toolchain_cxx if have_cxx else g['CC'] + ' --driver-mode=g++'
84
g['OPT'] = "-stdlib=libc++ -DNDEBUG"
85
+ g['INCLUDEPY'] = get_python_inc()
86
g['CONFINCLUDEPY'] = get_python_inc()
87
g['CPPFLAGS'] = '-I. -I' + get_python_inc()
88
gnu_source = "-D_GNU_SOURCE=1"
@@ -114,4 +115,6 @@ def _get_posix_vars():
114
115
g['ABIFLAGS'] = ""
116
g['Py_DEBUG'] = 0
117
g['Py_ENABLE_SHARED'] = 0
118
+ g['LIBDIR'] = __graalpython__.capi_home
119
+ g['LDLIBRARY'] = 'libpython.' + so_abi + so_ext
120
return g
0 commit comments