aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-20 09:55:50 -0500
committerEric Engestrom2018-03-20 13:19:44 -0500
commit56f6d3d48d405024802fa1e52a80f8918fba7fc5 (patch)
treee1426bc5922def9bfdbb4b257f1558c3323ecd0d /meson.build
parent0926f0af54d654b1a95826066edcae30b8052581 (diff)
downloadexternal-libgbm-56f6d3d48d405024802fa1e52a80f8918fba7fc5.tar.gz
external-libgbm-56f6d3d48d405024802fa1e52a80f8918fba7fc5.tar.xz
external-libgbm-56f6d3d48d405024802fa1e52a80f8918fba7fc5.zip
meson: drop unneeded dependency to libudev
libdrm only needed libudev for a few days 3 years ago, between fde4969176822fe54197 and its revert 5b0e76f143887c4ec7db. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 1 insertions, 7 deletions
diff --git a/meson.build b/meson.build
index 74a541e8..ade90be1 100644
--- a/meson.build
+++ b/meson.build
@@ -166,12 +166,6 @@ if _libkms != 'false'
166endif 166endif
167 167
168config.set10('UDEV', with_udev) 168config.set10('UDEV', with_udev)
169if with_udev
170 dep_udev = dependency('udev')
171else
172 dep_udev = []
173endif
174
175# Among others FreeBSD does not have a separate dl library. 169# Among others FreeBSD does not have a separate dl library.
176if not cc.has_function('dlsym') 170if not cc.has_function('dlsym')
177 dep_dl = cc.find_library('dl', required : with_nouveau) 171 dep_dl = cc.find_library('dl', required : with_nouveau)
@@ -294,7 +288,7 @@ libdrm = shared_library(
294 config_file, 288 config_file,
295 ], 289 ],
296 c_args : warn_c_args, 290 c_args : warn_c_args,
297 dependencies : [dep_udev, dep_valgrind, dep_rt, dep_m], 291 dependencies : [dep_valgrind, dep_rt, dep_m],
298 include_directories : inc_drm, 292 include_directories : inc_drm,
299 version : '2.4.0', 293 version : '2.4.0',
300 install : true, 294 install : true,