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
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ addEnvHooks "$hostOffset" make_glib_find_gsettings_schemas
|
|||
|
||||
# Install gschemas, if any, in a package-specific directory
|
||||
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue