Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _msbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class ResourceFile(CSourceFile):
VersionInfo(FileDescription="Native helper functions for PyManager"),
PyFile('__init__.py'),
CPP_SETTINGS,
ItemDefinition("Link",
AdditionalDependencies=Prepend("wintrust.lib;"),
),
IncludeFile('*.h'),
CSourceFile('*.cpp'),
CFunction('coinitialize'),
Expand Down Expand Up @@ -89,6 +92,7 @@ class ResourceFile(CSourceFile):
CFunction('read_alias_package'),
CFunction('broadcast_settings_change'),
CFunction('get_processor_architecture'),
CFunction('verify_trust'),
source='src/_native',
RootNamespace='_native',
)
Expand Down
4 changes: 4 additions & 0 deletions _msbuild_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
PreprocessorDefinitions=Prepend("ERROR_LOCATIONS=1;BITS_INJECT_ERROR=1;"),
LanguageStandard="stdcpp20",
),
ItemDefinition("Link",
AdditionalDependencies=Prepend("wintrust.lib;"),
),
IncludeFile('*.h'),
CSourceFile('*.cpp'),
CFunction('coinitialize'),
Expand Down Expand Up @@ -55,6 +58,7 @@
CFunction('read_alias_package'),
CFunction('broadcast_settings_change'),
CFunction('get_processor_architecture'),
CFunction('verify_trust'),
source='src/_native',
),
DllPackage('_shellext_test',
Expand Down
Loading
Loading