Commit 730deada authored by Tom Anderson's avatar Tom Anderson Committed by Akira TAGOH

Add FONTCONFIG_SYSROOT environment variable

parent c78afa90
......@@ -783,6 +783,10 @@ is used to override the default configuration file.
is used to override the default configuration directory.
</para>
<para>
<emphasis>FONTCONFIG_SYSROOT</emphasis>
is used to set a default sysroot directory.
</para>
<para>
<emphasis>FC_DEBUG</emphasis>
is used to output the detailed debugging messages. see <link linkend="debug">Debugging Applications</link> section for more details.
</para>
......
......@@ -2408,7 +2408,10 @@ FcConfigGetSysRoot (const FcConfig *config)
return NULL;
}
return config->sysRoot;
if (config->sysRoot)
return config->sysRoot;
return (FcChar8 *) getenv ("FONTCONFIG_SYSROOT");
}
void
......
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