Skip to content

midl.py tool emits all targets regardless of commandline #1652

Closed

Description

@bdbaddog

This issue was originally created at: 2007-05-01 11:49:45.
This issue was reported by: aerskine.
aerskine said at 2007-05-01 11:49:45

Not all MS type libraries require the /proxy or /dlldata flags of midl.exe, yet
if you overwrite the MIDLCOM environment variable not to include them, midl.py
still emits the corresponding targets, causing the TypeLibrary(..) call to
always rebuild (since, eg TypeLib_p.c is always found to be missing)

The supplied patch only emits proxy & dlldata targets upon detecting the
appropriate flags in the MIDLCOM variable.

aerskine said at 2007-05-01 11:50:51

Created an attachment (id=186)
Patch to check for /proxy and /dlldata flags before emitting targets in midl.py

stevenknight said at 2007-05-21 20:00:50

Integrated for next release, revision 1920. Thank you!

aerskine attached midl_no_proxy.patch at 2007-05-01 11:50:51.

Patch to check for /proxy and /dlldata flags before emitting targets in midl.py

stevenknight said this issue blocks #1664 at 2007-05-21 20:00:50.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions