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 4 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.

Actions #1

Updated by Norm Tovey-Walsh about 1 year ago

  • Status changed from New to In Progress
  • Assignee changed from O'Neil Delpratt to Norm Tovey-Walsh

Right. This is a consequence of the builds being different for wheels and ordinary libraries.

Actions #2

Updated by O'Neil Delpratt 4 months ago

  • Status changed from In Progress to Closed

Please register to edit this issue

Also available in: Atom PDF