Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4c7a2b4c
Commit
4c7a2b4c
authored
Jan 21, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Compare the full path when looking for generated include files.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d4ca222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
makedep.c
tools/makedep.c
+10
-1
No files found.
tools/makedep.c
View file @
4c7a2b4c
...
...
@@ -756,7 +756,16 @@ static struct incl_file *find_include_file( const struct makefile *make, const c
struct
incl_file
*
file
;
LIST_FOR_EACH_ENTRY
(
file
,
&
make
->
includes
,
struct
incl_file
,
entry
)
if
(
!
strcmp
(
name
,
file
->
name
))
return
file
;
{
const
char
*
filename
=
file
->
filename
;
if
(
!
filename
)
continue
;
if
(
make
->
obj_dir
&&
strlen
(
make
->
obj_dir
)
<
strlen
(
filename
))
{
filename
+=
strlen
(
make
->
obj_dir
);
while
(
*
filename
==
'/'
)
filename
++
;
}
if
(
!
strcmp
(
name
,
filename
))
return
file
;
}
return
NULL
;
}
...
...
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