X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.c;h=74305c69f93a3a01490df1f730c37cb1ee04e915;hb=8538d642f01c8ee185cb356eba2c2f19cf4cea58;hp=3838380ed68ac34f7adeb67f2dabbbe34b3515e5;hpb=5cbc5e1c37fba83ba2577aad9b66de2c7587e63f;p=src%2Fapp-framework-binder.git 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 @@ -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