summaryrefslogtreecommitdiffstats
path: root/src/afb-api-so.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-18 15:04:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-04-02 09:58:49 +0200
commit16f014ef35b8355de1006891fe6920c8b51675fe (patch)
tree0a99e554556009cbd98e9b9715b67e60a6eb053a /src/afb-api-so.c
parentec0564bc90b3c63f7e82f09e81db8bd2cfac89a2 (diff)
Add conditionnal support of dynamic bindings
The load of dynamic bindings becomes removable. This is a step in direction of a tiny binder library. Also refactor AGL_DEVEL Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: If283f431fd8a831429e717b2770464cb54476dc7
Diffstat (limited to 'src/afb-api-so.c')
-rw-r--r--src/afb-api-so.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afb-api-so.c b/src/afb-api-so.c
index 3838380e..74305c69 100644
--- a/src/afb-api-so.c
+++ b/src/afb-api-so.c
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#if WITH_DYNAMIC_BINDING
+
#define _GNU_SOURCE
#include <stdio.h>
@@ -322,3 +324,4 @@ int afb_api_so_add_pathset_nofails(const char *pathset, struct afb_apiset *decla
return afb_api_so_add_pathset(pathset, declare_set, call_set, 0);
}
+#endif