This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Change library name when building.
Type: compile error Stage: resolved
Components: Build Versions: Python 3.8
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: corentin.bolou27, eric.smith
Priority: normal Keywords:

Created on 2020-12-23 12:56 by corentin.bolou27, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg383646 - (view) Author: Corentin Bolou (corentin.bolou27) Date: 2020-12-23 12:56
Hello python community.
I use python in a software I develop.
I succeed the standard build into lib/dll on windows.
However, I have difficulties when I want to change the name of the lib. And used them with the new name in my project.
I follow the Readme that tell to change the name, we have to change in PCbuild the python.props. So I did that and I had the right name I wanted after building python. But when I compile my project, when I reached the link step,my project search for the old library name. And I have nothing in my code that try to search for this library. I add the include python.lib in my project settings, but it said that it cannot open file python38.lib. I think some compile C code may reference to his name. And if it's the case. I want to know if it's possible to build python with a different name than  python38 and python38_d.lib/dll on Windows. 
Sincerely,
Corentin
msg383652 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2020-12-23 18:16
This tracker is for reporting bugs in python. I think you'd have better luck asking this question on Stack Overflow, or maybe the python-list mailing list: https://mail.python.org/mailman/listinfo/python-list
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86890
2020-12-27 11:17:55eric.smithsetstatus: open -> closed
resolution: not a bug
stage: resolved
2020-12-23 18:16:44eric.smithsetnosy: + eric.smith
messages: + msg383652
2020-12-23 12:56:35corentin.bolou27create