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
4ee9bbc8
Commit
4ee9bbc8
authored
Jun 26, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Fall back to the WINELOADER path for the bin directory.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56b14d63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
config.c
libs/wine/config.c
+3
-2
No files found.
libs/wine/config.c
View file @
4ee9bbc8
...
@@ -426,14 +426,15 @@ static int set_dlldir( char *libdir )
...
@@ -426,14 +426,15 @@ static int set_dlldir( char *libdir )
/* initialize the argv0 path */
/* initialize the argv0 path */
void
wine_init_argv0_path
(
const
char
*
argv0
)
void
wine_init_argv0_path
(
const
char
*
argv0
)
{
{
const
char
*
basename
;
const
char
*
basename
,
*
wineloader
;
if
(
!
(
basename
=
strrchr
(
argv0
,
'/'
)))
basename
=
argv0
;
if
(
!
(
basename
=
strrchr
(
argv0
,
'/'
)))
basename
=
argv0
;
else
basename
++
;
else
basename
++
;
if
(
set_bindir
(
get_runtime_exedir
()
))
goto
done
;
if
(
set_bindir
(
get_runtime_exedir
()
))
goto
done
;
if
(
set_dlldir
(
get_runtime_libdir
()
))
goto
done
;
if
(
set_dlldir
(
get_runtime_libdir
()
))
goto
done
;
set_bindir
(
get_runtime_argvdir
(
argv0
));
if
(
set_bindir
(
get_runtime_argvdir
(
argv0
)))
goto
done
;
if
((
wineloader
=
getenv
(
"WINELOADER"
)))
set_bindir
(
get_runtime_argvdir
(
wineloader
));
done:
done:
if
(
build_dir
)
if
(
build_dir
)
...
...
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