Skip to content

Commit 356bf04

Browse files
authored
fix_pypy (#889)
1 parent 70c9dcd commit 356bf04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build_backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def custom_build_cmake_clib(iface, cxx=None):
112112

113113
cmake_generator = "-GNinja" if IS_WIN else ""
114114
python_include = get_python_inc()
115-
win_python_path_lib = os.path.abspath(jp(get_config_var('LIBDEST'), "..", "libs"))
115+
if IS_WIN:
116+
win_python_path_lib = os.path.abspath(jp(get_config_var('LIBDEST'), "..", "libs"))
116117
python_library_dir = win_python_path_lib if IS_WIN else get_config_var('LIBDIR')
117118
numpy_include = np.get_include()
118119

0 commit comments

Comments
 (0)