meson: enable auto_features by default

We disabled them by default when they were introduced in

https://github.com/NixOS/nixpkgs/pull/42994

but enabling them probably makes more sense:

https://github.com/NixOS/nixpkgs/pull/54398
https://github.com/NixOS/nixpkgs/pull/63491
wip/yesman
Jan Tojnar 5 years ago
parent 85483ca76a
commit e529ec3263
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 2
      pkgs/development/tools/build-managers/meson/setup-hook.sh

@ -17,7 +17,7 @@ mesonConfigurePhase() {
--includedir=${!outputInclude}/include \
--mandir=${!outputMan}/share/man --infodir=${!outputInfo}/share/info \
--localedir=${!outputLib}/share/locale \
-Dauto_features=disabled \
-Dauto_features=${mesonAutoFeatures:-enabled} \
$mesonFlags"
mesonFlags="${crossMesonFlags+$crossMesonFlags }--buildtype=${mesonBuildType:-release} $mesonFlags"

Loading…
Cancel
Save