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
This commit is contained in:
Jan Tojnar 2019-06-19 03:17:42 +02:00
parent 85483ca76a
commit e529ec3263
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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"