1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
12 lib_execinfo = cc.find_library('execinfo', required: false)
17 allow_experimental_apis = false
21 objs = [] # other object files to link against, used e.g. for
22 # instruction-set optimized versions of code
24 # use "deps" for internal DPDK dependencies, and "ext_deps" for
25 # external package/library requirements
34 dep_objs += get_variable(get_option('default_library')
37 dep_objs += lib_execinfo
40 if get_option('default_library') == 'static'
41 link_libs = dpdk_drivers
44 if allow_experimental_apis
45 cflags += '-DALLOW_EXPERIMENTAL_API'
48 executable('dpdk-' + name,
51 link_whole: link_libs,
52 dependencies: dep_objs,
53 install_rpath: join_paths(get_option('prefix'),