diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2018-01-24 18:49:03 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw@src.gnome.org> | 2018-01-24 19:12:43 +0800 |
commit | 75b509703d5f1f4b3904c2b1a84a771eb049d3b5 (patch) | |
tree | 6144ce8f00bb7b3f2753cd1223f81ecc2c96e59a /monitor | |
parent | d7262a65a15178c8782c5d76c506d9b48fd8b788 (diff) | |
download | gvfs-75b509703d5f1f4b3904c2b1a84a771eb049d3b5.tar.gz |
build: Fix gdu monitor build when gudev is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=786149
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/gdu/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor/gdu/meson.build b/monitor/gdu/meson.build index 3117b1db..7713998a 100644 --- a/monitor/gdu/meson.build +++ b/monitor/gdu/meson.build @@ -46,12 +46,15 @@ sources = files( deps = glib_deps + [ gdu_dep, - gudev_dep, libgvfscommon_dep, libgvfscommon_monitor_dep, libgvfsproxyvolumemonitordaemon_noin_dep ] +if enable_gudev + deps += gudev_dep +endif + cflags = [ '-DG_LOG_DOMAIN="GVFS-Gdu"', '-DGDU_API_IS_SUBJECT_TO_CHANGE', |