[totem] lirc: Fix lirc plugin dependency checks
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] lirc: Fix lirc plugin dependency checks
- Date: Mon, 14 Aug 2017 08:43:44 +0000 (UTC)
commit 09de336619ec177e6943fcc2cb2817f1b4366ea8
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 14 10:40:46 2017 +0200
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
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 83d76d8..95af648 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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]