[seahorse] meson: Remove error() if ldap/lber not found
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] meson: Remove error() if ldap/lber not found
- Date: Wed, 17 Feb 2021 15:44:39 +0000 (UTC)
commit 34e0529013964ade6dd459ad04fdc554ddad7089
Author: Niels De Graef <nielsdegraef gmail com>
Date: Wed Feb 17 16:43:46 2021 +0100
meson: Remove error() if ldap/lber not found
Meson will already error out beforehand, so let's get rid of the dead
code.
meson.build | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index b29c07bc..97f3bc69 100644
--- a/meson.build
+++ b/meson.build
@@ -65,11 +65,6 @@ endif
if get_option('ldap-support')
libldap = cc.find_library('ldap')
liblber = cc.find_library('lber')
- if not libldap.found()
- error('Required library "ldap" not found (needed for LDAP support)')
- elif not liblber.found()
- error('Required library "lber" not found (needed for LDAP support)')
- endif
endif
libsoup = dependency('libsoup-2.4', version: '>= 2.33.92', required: get_option('hkp-support'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]