diff options
author | Michael Biebl <mbiebl@gmail.com> | 2017-05-03 16:45:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 16:45:31 +0200 |
commit | 8251ee109c5f7788fe33043c97b8b9011cb31de6 (patch) | |
tree | 1aad161bd45dc9d4105afdae98a5d567891ae8d9 /src/udev/meson.build | |
parent | 7feeb8998040ce9358f5c1d805c03e59d72e1190 (diff) | |
parent | 2c201c2140f9a75f3698e988880f00f8d0492315 (diff) |
Merge pull request #5842 from keszybz/meson-status-and-conditionals
Meson status and conditional simplification
Diffstat (limited to 'src/udev/meson.build')
-rw-r--r-- | src/udev/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build index 495e9d3c54..9692ddc1e9 100644 --- a/src/udev/meson.build +++ b/src/udev/meson.build @@ -36,15 +36,15 @@ libudev_core_sources = ''' net/ethtool-util.h '''.split() -if conf.get('HAVE_KMOD', 0) == 1 +if conf.get('HAVE_KMOD', false) libudev_core_sources += ['udev-builtin-kmod.c'] endif -if conf.get('HAVE_BLKID', 0) == 1 +if conf.get('HAVE_BLKID', false) libudev_core_sources += ['udev-builtin-blkid.c'] endif -if conf.get('HAVE_ACL', 0) == 1 +if conf.get('HAVE_ACL', false) libudev_core_sources += ['udev-builtin-uaccess.c', logind_acl_c, sd_login_c] |