[New-bugs-announce] [issue42724] Change library name when building.

Corentin Bolou report at bugs.python.org
Wed Dec 23 07:56:35 EST 2020


New submission from Corentin Bolou <corentin.bolou27 at gmail.com>:

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

----------
components: Build
messages: 383646
nosy: corentin.bolou27
priority: normal
severity: normal
status: open
title: Change library name when building.
type: compile error
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42724>
_______________________________________


More information about the New-bugs-announce mailing list