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
e25d83dc
Commit
e25d83dc
authored
Jan 11, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Check for RTLD_SELF support to enable ELF constructors.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54218
parent
d5e8d3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dll_soinit.c
dlls/winecrt0/dll_soinit.c
+1
-1
No files found.
dlls/winecrt0/dll_soinit.c
View file @
e25d83dc
...
@@ -77,7 +77,7 @@ static BOOL get_relocbase(caddr_t mapbase, caddr_t *relocbase)
...
@@ -77,7 +77,7 @@ static BOOL get_relocbase(caddr_t mapbase, caddr_t *relocbase)
*/
*/
void
__wine_init_so_dll
(
void
)
void
__wine_init_so_dll
(
void
)
{
{
#if defined(HAVE_DLADDR1) ||
defined(HAVE_DLINFO
)
#if defined(HAVE_DLADDR1) ||
(defined(HAVE_DLINFO) && defined(RTLD_SELF)
)
struct
link_map
*
map
;
struct
link_map
*
map
;
void
(
*
init_func
)(
int
,
char
**
,
char
**
)
=
NULL
;
void
(
*
init_func
)(
int
,
char
**
,
char
**
)
=
NULL
;
void
(
**
init_array
)(
int
,
char
**
,
char
**
)
=
NULL
;
void
(
**
init_array
)(
int
,
char
**
,
char
**
)
=
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