mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
Bugfix: *Don't* resolve PE imports if asked not to ...
This commit is contained in:
parent
9f14ca6360
commit
8c32184814
1 changed files with 3 additions and 2 deletions
|
@ -835,9 +835,10 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule,
|
|||
|
||||
/* Fixup Imports */
|
||||
|
||||
if ( pe_import && fixup_imports( wm )
|
||||
if ( pe_import
|
||||
&& !( wm->flags & WINE_MODREF_LOAD_AS_DATAFILE )
|
||||
&& !( wm->flags & WINE_MODREF_DONT_RESOLVE_REFS ) )
|
||||
&& !( wm->flags & WINE_MODREF_DONT_RESOLVE_REFS )
|
||||
&& fixup_imports( wm ) )
|
||||
{
|
||||
/* remove entry from modref chain */
|
||||
EnterCriticalSection( &PROCESS_Current()->crit_section );
|
||||
|
|
Loading…
Reference in a new issue