Commit 2dffdcd6 authored by Yaakov Selkowitz's avatar Yaakov Selkowitz

xf86Config: load DIX libraries before drivers on Cygwin

Cygwin doesn't have ELF rpath capabilities, so these libraries need
to be loaded before the drivers (namely dummy and nested) which
depend on their symbols.
Signed-off-by: Yaakov Selkowitz's avatarYaakov Selkowitz <>
Reviewed-by: Jon Turney's avatarJon TURNEY <>
Reviewed-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <>
parent 5dd3d2db
......@@ -124,6 +124,11 @@ static ModuleDefault ModuleDefaults[] = {
#ifdef DRI2
{.name = "dri2",.toLoad = TRUE,.load_opt = NULL},
#ifdef __CYGWIN__
/* load DIX modules used by drivers first */
{.name = "fb",.toLoad = TRUE,.load_opt = NULL},
{.name = "shadow",.toLoad = TRUE,.load_opt = NULL},
{.name = NULL,.toLoad = FALSE,.load_opt = NULL}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment