diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-08-14 10:40:46 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-08-14 10:42:28 +0200 |
commit | 09de336619ec177e6943fcc2cb2817f1b4366ea8 (patch) | |
tree | b326d2b3292d88fb554ca381b3b9d9452a84afbb | |
parent | 651d604b443314507472a0b4cf9299734b2c55d4 (diff) | |
download | totem-09de336619ec177e6943fcc2cb2817f1b4366ea8.tar.gz |
lirc: Fix lirc plugin dependency checks
The pkg-config file is called lirc, not lirc_client (the name of the
library), and the function check didn't link against liblirc_client
either.
https://bugzilla.gnome.org/show_bug.cgi?id=786258
-rw-r--r-- | src/plugins/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/meson.build b/src/plugins/meson.build index 83d76d865..95af6485c 100644 --- a/src/plugins/meson.build +++ b/src/plugins/meson.build @@ -70,8 +70,8 @@ if plugins_option != 'none' message(str) endif - lirc_dep = dependency('lirc_client', required: false) - if lirc_dep.found() and cc.has_function('lirc_init') and cc.has_header('lirc/lirc_client.h') + lirc_dep = dependency('lirc', required: false) + if lirc_dep.found() and cc.has_function('lirc_init', dependencies: lirc_dep) and cc.has_header('lirc/lirc_client.h') plugins += 'lirc' else str = 'you need lirc_client installed for the lirc plugin' |