Skip to content

Commit 6fe520a

Browse files
committed
Try fix LDFLAGS passing via environment
1 parent b04c44a commit 6fe520a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mingw_smoketests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def test_c_ext_build(self):
295295
from pathlib import Path
296296

297297
if sysconfig.is_python_build():
298-
pydir = os.path.dirname(sys._base_executable)
298+
pydir = os.path.dirname(sys._base_executable).replace('\\', '/')
299299
os.environ["LDFLAGS"] = "-L " + pydir
300300

301301
with tempfile.TemporaryDirectory() as tmppro:

0 commit comments

Comments
 (0)