]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/meson.build
build: improve libbsd dependency handling
[dpdk.git] / lib / librte_eal / meson.build
index e1fde15d1bf1a3905993d81ef575722d99f3f46f..98c1d1f31eb7c9775899e0c482f4eb7c7da70910 100644 (file)
@@ -21,11 +21,12 @@ else
        error('unsupported system type "@0@"'.format(host_machine.system()))
 endif
 
-version = 8  # the version of the EAL API
+version = 9  # the version of the EAL API
 allow_experimental_apis = true
-deps += 'compat'
 deps += 'kvargs'
-cflags += '-D_GNU_SOURCE'
+if dpdk_conf.has('RTE_USE_LIBBSD')
+       ext_deps += libbsd
+endif
 sources = common_sources + env_sources
 objs = common_objs + env_objs
 headers = common_headers + env_headers