]> 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 a18f3a826d89d9c2d2411b0cae7ea150204e6121..98c1d1f31eb7c9775899e0c482f4eb7c7da70910 100644 (file)
@@ -23,8 +23,10 @@ endif
 
 version = 9  # the version of the EAL API
 allow_experimental_apis = true
-deps += 'compat'
 deps += 'kvargs'
+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