Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
893febda
Commit
893febda
authored
Apr 26, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Install PE fake dlls in the architecture-specific directory.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ee81814f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
loader.c
dlls/ntdll/loader.c
+0
-6
fakedll.c
dlls/setupapi/fakedll.c
+0
-6
makedep.c
tools/makedep.c
+1
-1
No files found.
dlls/ntdll/loader.c
View file @
893febda
...
...
@@ -2669,12 +2669,6 @@ static NTSTATUS find_builtin_without_file( const WCHAR *name, UNICODE_STRING *ne
status
=
open_dll_file
(
new_name
,
pwm
,
mapping
,
image_info
,
id
);
if
(
status
==
STATUS_IMAGE_MACHINE_TYPE_MISMATCH
)
found_image
=
TRUE
;
else
if
(
status
!=
STATUS_DLL_NOT_FOUND
)
goto
done
;
new_name
->
Length
=
len
;
RtlAppendUnicodeToString
(
new_name
,
L"
\\
fakedlls
\\
"
);
RtlAppendUnicodeToString
(
new_name
,
name
);
status
=
open_dll_file
(
new_name
,
pwm
,
mapping
,
image_info
,
id
);
if
(
status
==
STATUS_IMAGE_MACHINE_TYPE_MISMATCH
)
found_image
=
TRUE
;
else
if
(
status
!=
STATUS_DLL_NOT_FOUND
)
goto
done
;
RtlFreeUnicodeString
(
new_name
);
}
if
(
found_image
)
status
=
STATUS_IMAGE_MACHINE_TYPE_MISMATCH
;
...
...
dlls/setupapi/fakedll.c
View file @
893febda
...
...
@@ -474,9 +474,6 @@ static void *load_fake_dll( const WCHAR *name, SIZE_T *size )
if
((
res
=
read_file
(
ptr
,
&
data
,
size
)))
break
;
ptr
=
prepend
(
file
+
pos
,
path
,
lstrlenW
(
path
)
);
if
((
res
=
read_file
(
ptr
,
&
data
,
size
)))
break
;
ptr
=
prepend
(
file
+
pos
,
L"
\\
fakedlls"
,
9
);
ptr
=
prepend
(
ptr
,
path
,
lstrlenW
(
path
)
);
if
((
res
=
read_file
(
ptr
,
&
data
,
size
)))
break
;
}
done:
...
...
@@ -1042,9 +1039,6 @@ static BOOL create_wildcard_dlls( const WCHAR *dirname, const WCHAR *wildcard, B
install_lib_dir
(
dest
,
file
,
wildcard
,
NULL
,
delete
);
lstrcpyW
(
file
,
path
);
install_lib_dir
(
dest
,
file
,
wildcard
,
NULL
,
delete
);
lstrcpyW
(
file
,
path
);
lstrcatW
(
file
,
L"
\\
fakedlls"
);
install_lib_dir
(
dest
,
file
,
wildcard
,
NULL
,
delete
);
}
HeapFree
(
GetProcessHeap
(),
0
,
file
);
HeapFree
(
GetProcessHeap
(),
0
,
dest
);
...
...
tools/makedep.c
View file @
893febda
...
...
@@ -3315,7 +3315,7 @@ static void output_module( struct makefile *make )
add_install_rule
(
make
,
make
->
module
,
strmake
(
"%s%s"
,
make
->
module
,
dll_ext
),
strmake
(
"p$(dlldir)/%s%s"
,
make
->
module
,
dll_ext
));
add_install_rule
(
make
,
make
->
module
,
strmake
(
"%s.fake"
,
make
->
module
),
strmake
(
"d
$(dlldir)/fakedlls/%s"
,
make
->
module
));
strmake
(
"d
%s/%s"
,
pe_dir
,
make
->
module
));
output
(
"%s%s %s.fake:"
,
module_path
,
dll_ext
,
module_path
);
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment