aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-04 19:23:11 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-11 17:11:36 +0200
commitba0630afda4bbef3588d049cee6047311dcbd536 (patch)
treee817df4e30aabd10f2aa5fcc0996232fdaea6ee5
parentefl_ui_win: Move force resize code on first draw (diff)
downloadefl-ba0630afda4bbef3588d049cee6047311dcbd536.tar.gz
meson: support older udev systems
Differential Revision: https://phab.enlightenment.org/D7145
-rw-r--r--src/lib/eeze/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/eeze/meson.build b/src/lib/eeze/meson.build
index 5f2b4bdf65..313a73d888 100644
--- a/src/lib/eeze/meson.build
+++ b/src/lib/eeze/meson.build
@@ -52,9 +52,14 @@ endif
options_to_check = ['eject', 'mount', 'unmount']
-eeze_deps += dependency('libudev',
+udev = dependency('libudev',
version: ['>=148']
)
+eeze_deps += udev
+
+if udev.version() < '199'
+ config_h.set('OLD_LIBUDEV', '1')
+endif
foreach option : options_to_check
val = get_option(option+'-path')