Skip to content

Commit 0aaebd8

Browse files
fix exe and pyd name for installed files
1 parent e0c1f59 commit 0aaebd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def create_makefiles(macros):
433433
# The implied code generator installs.
434434
if not opts.no_tools:
435435
sip_dir, sip_exe = os.path.split(cfg.sip_bin)
436-
if sys.platform == 'win32':
436+
if sys.platform in ("win32", "os2knix"):
437437
sip_exe += '.exe'
438438

439439
all_installs.append((sip_exe, sip_dir))
@@ -449,6 +449,8 @@ def create_makefiles(macros):
449449
if not opts.no_module:
450450
if sys.platform == 'win32':
451451
mod = 'sip.lib' if opts.static else 'sip.pyd'
452+
elif sys.platform == 'os2knix':
453+
mod = 'sip.a' if opts.static else 'sip.pyd'
452454
else:
453455
mod = 'libsip.a' if opts.static else 'sip.so'
454456

0 commit comments

Comments
 (0)