X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fmeson.build;h=2751023a91b781a6bb9fe16f8f2918981a78da06;hb=62a70db553f9e37df08b301092acea144979f424;hp=fa36b20e09f769e9f7727bc32a6c04c4e20bb96f;hpb=b458c2927ab416fd7becfbc740ccfa53f0dfbdd1;p=dpdk.git diff --git a/lib/librte_eal/meson.build b/lib/librte_eal/meson.build index fa36b20e09..2751023a91 100644 --- a/lib/librte_eal/meson.build +++ b/lib/librte_eal/meson.build @@ -12,12 +12,15 @@ subdir('common') # defines common_sources, common_objs, etc. dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1) subdir(exec_env + '/eal') -version = 10 # the version of the EAL API +version = 11 # the version of the EAL API allow_experimental_apis = true deps += 'kvargs' if dpdk_conf.has('RTE_USE_LIBBSD') ext_deps += libbsd endif +if cc.has_function('getentropy', prefix : '#include ') + cflags += '-DRTE_LIBEAL_USE_GETENTROPY' +endif sources = common_sources + env_sources objs = common_objs + env_objs headers = common_headers + env_headers