aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-so.c
diff options
context:
space:
mode:
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