From 38b17235339c8d0223f00d3b3a54626c32184f9d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 1 Dec 2017 19:06:21 +0100 Subject: Fix embedded build Do not attempt to load auth plugins - this does not make sense on embedded target anyway. Change-Id: Ie92d2eea21e19e499b3f3bb4d5a82e31fbbea3f0 --- src/gsm/auth_core.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gsm/auth_core.c') diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c index 9e3b2c01..400708f9 100644 --- a/src/gsm/auth_core.c +++ b/src/gsm/auth_core.c @@ -20,6 +20,8 @@ * */ +#include "config.h" + #include #include #include @@ -71,7 +73,11 @@ int osmo_auth_register(struct osmo_auth_impl *impl) int osmo_auth_load(const char *path) { /* load all plugins available from path */ +#if !defined(EMBEDDED) return osmo_plugin_load_all(path); +#else + return -1; +#endif } /*! Determine if a given authentication algorithm is supported -- cgit v1.2.3