net/ice: update QinQ switch filter handling
[dpdk.git] / app / meson.build
index fd72d7d..50a53db 100644 (file)
@@ -21,12 +21,9 @@ apps = [
        'test-regex',
        'test-sad']
 
-# for BSD only
-lib_execinfo = cc.find_library('execinfo', required: false)
-
 default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']
 default_ldflags = []
-if get_option('default_library') == 'static'
+if get_option('default_library') == 'static' and not is_windows
        default_ldflags += ['-Wl,--export-dynamic']
 endif
 
@@ -53,7 +50,6 @@ foreach app:apps
                        dep_objs += get_variable(get_option('default_library')
                                 + '_rte_' + d)
                endforeach
-               dep_objs += lib_execinfo
 
                link_libs = []
                if get_option('default_library') == 'static'
@@ -66,6 +62,7 @@ foreach app:apps
                                link_args: ldflags,
                                link_whole: link_libs,
                                dependencies: dep_objs,
+                               include_directories: includes,
                                install_rpath: join_paths(get_option('prefix'),
                                                 driver_install_path),
                                install: true)