Simplify build process
[src/app-framework-binder.git] / src / afb-api-so-vdyn.c
index 1734494..bb37f0f 100644 (file)
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+#if defined(WITH_LEGACY_BINDING_VDYN)
+
 #define _GNU_SOURCE
 
 #include <stdlib.h>
@@ -59,3 +61,5 @@ int afb_api_so_vdyn_add(const char *path, void *handle, struct afb_apiset *decla
        return 1;
 }
 
+#endif
+