Project

Profile

Help

Bug #5857

closed

Windows Python setup.py has wrong path for libsaxon-hec-12.0.lib

Added by Martin Honnen about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Python Build
Start date:
2023-01-26
Due date:
% Done:

0%

Estimated time:
Found in version:
Fixed in version:
Platforms:

Description

I have tried to build the SaxonC 12.0 HE Python extension under Windows, using py setup.py build_ext -if failed for me because libs\\win\\libsaxon-hec-12.0.lib couldn't be found.

After changing the lines

elif system() == 'Windows':
    extra_link_args.append('libs\\win\\libsaxon-hec-12.0.lib')

in setup.py to

elif system() == 'Windows':
    extra_link_args.append('..\\libs\\win\\libsaxon-hec-12.0.lib')

the build worked fine.

Please register to edit this issue

Also available in: Atom PDF