summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/CMakeLists.txt3
-rw-r--r--bindings/samples/ave.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt
index 1a1e9016..509c6cbf 100644
--- a/bindings/CMakeLists.txt
+++ b/bindings/CMakeLists.txt
@@ -16,6 +16,9 @@
# limitations under the License.
###########################################################################
+IF(WITH_BINDER)
ADD_SUBDIRECTORY(intrinsics)
ADD_SUBDIRECTORY(samples)
ADD_SUBDIRECTORY(tutorial)
+ENDIF(WITH_BINDER)
+
diff --git a/bindings/samples/ave.c b/bindings/samples/ave.c
index a4b4144d..569245eb 100644
--- a/bindings/samples/ave.c
+++ b/bindings/samples/ave.c
@@ -483,7 +483,7 @@ int afbBindingVdyn(afb_dynapi *dynapi)
int i, rc;
for (i = 0; apis[i] ; i++) {
- rc = afb_dynapi_new_api(dynapi, apis[i], NULL, build_api, (void*)apis[i]);
+ rc = afb_dynapi_new_api(dynapi, apis[i], NULL, 0, build_api, (void*)apis[i]);
if (rc < 0)
AFB_DYNAPI_ERROR(dynapi, "can't create API %s", apis[i]);
}