summaryrefslogtreecommitdiff
path: root/src/lib/eeze
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 /src/lib/eeze
parent93ee5f9d53558f9f837220e81a8c35d2475a022f (diff)
meson: support older udev systems
Differential Revision: https://phab.enlightenment.org/D7145
Diffstat (limited to 'src/lib/eeze')
-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
52 52
53options_to_check = ['eject', 'mount', 'unmount'] 53options_to_check = ['eject', 'mount', 'unmount']
54 54
55eeze_deps += dependency('libudev', 55udev = dependency('libudev',
56 version: ['>=148'] 56 version: ['>=148']
57) 57)
58eeze_deps += udev
59
60if udev.version() < '199'
61 config_h.set('OLD_LIBUDEV', '1')
62endif
58 63
59foreach option : options_to_check 64foreach option : options_to_check
60 val = get_option(option+'-path') 65 val = get_option(option+'-path')