forked from ariadne/pkgconf
personality: drop want_default_pure on windows
We still retain want_default_static to satisfy the requirements of the PE/COFF
linking model.
Fixes: 008d7069
("libpkgconf: personality: default: set want_default_static and want_default_pure to true on windows")
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Closes: #364
parent
8c479a8355
commit
444846dd2d
|
@ -38,8 +38,13 @@ static unsigned default_personality_init = 0;
|
||||||
static pkgconf_cross_personality_t default_personality = {
|
static pkgconf_cross_personality_t default_personality = {
|
||||||
.name = "default",
|
.name = "default",
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
/* PE/COFF uses a different linking model than ELF and Mach-O, where
|
||||||
|
* all transitive dependency references must be processed by the linker
|
||||||
|
* when linking the final executable image, even if those dependencies
|
||||||
|
* are pulled in as DLLs.
|
||||||
|
* This translates to always using --static on Windows targets.
|
||||||
|
*/
|
||||||
.want_default_static = true,
|
.want_default_static = true,
|
||||||
.want_default_pure = true,
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue