glib: only add gsettingsschemadir in make
gsettingsschemedir only works in make where you can set any variable from the command line as in “make VAR=VAL”. Other build systems may not support this kind of loose overriding of variables. This broke a scons build here: https://hydra.nixos.org/build/84073119/
This commit is contained in:
parent
d375193057
commit
df8ee06477
@ -9,7 +9,7 @@ addEnvHooks "$hostOffset" make_glib_find_gsettings_schemas
|
|||||||
|
|
||||||
# Install gschemas, if any, in a package-specific directory
|
# Install gschemas, if any, in a package-specific directory
|
||||||
glibPreInstallPhase() {
|
glibPreInstallPhase() {
|
||||||
installFlagsArray+=("gsettingsschemadir=${!outputLib}/share/gsettings-schemas/$name/glib-2.0/schemas/")
|
makeFlagsArray+=("gsettingsschemadir=${!outputLib}/share/gsettings-schemas/$name/glib-2.0/schemas/")
|
||||||
}
|
}
|
||||||
preInstallPhases+=" glibPreInstallPhase"
|
preInstallPhases+=" glibPreInstallPhase"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user