X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=config%2Fmeson.build;h=2179c689c14d4e1e8c7fbba4639e91e634475bcd;hb=9009d00746abbe17ce0a860e48d1dac9cb455199;hp=5815b56021b11432ea12955b18f946f049530e89;hpb=89200580ef0f89ef247ca32e9299c670beb95cc0;p=dpdk.git diff --git a/config/meson.build b/config/meson.build index 5815b56021..2179c689c1 100644 --- a/config/meson.build +++ b/config/meson.build @@ -43,7 +43,8 @@ if numa_dep.found() and cc.has_header('numaif.h') endif # check for strlcpy -if host_machine.system() == 'linux' and cc.find_library('bsd', required: false).found() +if host_machine.system() == 'linux' and cc.find_library('bsd', + required: false).found() and cc.has_header('bsd/string.h') dpdk_conf.set('RTE_USE_LIBBSD', 1) add_project_link_arguments('-lbsd', language: 'c') dpdk_extra_ldflags += '-lbsd'