From ce2f70f23018bd44a1ffc8f4203b06f1ce4d69a2 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Wed, 11 Nov 2020 22:24:03 +0100 Subject: [PATCH] fix: fixed version of libconfig --- meson.build | 2 +- src/webfused/config/factory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 80911c8..15ab2a8 100644 --- a/meson.build +++ b/meson.build @@ -5,7 +5,7 @@ without_userdb = get_option('without_userdb') c_compiler = meson.get_compiler('c') -libconfig_dep = dependency('libconfig', version: '>=1.4') +libconfig_dep = dependency('libconfig', version: '>=1.5') pam_dep = c_compiler.find_library('pam') libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.0') diff --git a/src/webfused/config/factory.c b/src/webfused/config/factory.c index 7f3f76d..81417a8 100644 --- a/src/webfused/config/factory.c +++ b/src/webfused/config/factory.c @@ -9,7 +9,7 @@ #include -#if ((LIBCONFIG_VER_MAJOR != 1) || (LIBCONFIG_VER_MINOR < 4)) +#if ((LIBCONFIG_VER_MAJOR != 1) || (LIBCONFIG_VER_MINOR < 5)) #error "libconfig 1.5 or higher needed" #endif