Project

Profile

Help

Bug #5857

open

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

Added by Martin Honnen about 2 months ago. Updated about 2 months ago.

Status:
In Progress
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 2 months 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.

Please register to edit this issue

Also available in: Atom PDF