net/mlx5: remove unused calculation in RSS expansion
[dpdk.git] / drivers / meson.build
index a5a6fed..6b50f72 100644 (file)
@@ -60,6 +60,7 @@ foreach subpath:subdirs
                name = drv
                fmt_name = ''
                sources = []
+               headers = []
                objs = []
                cflags = default_cflags
                includes = [include_directories(drv_path)]
@@ -136,6 +137,8 @@ foreach subpath:subdirs
 
                        dpdk_extra_ldflags += pkgconfig_extra_libs
 
+                       install_headers(headers)
+
                        # generate pmdinfo sources by building a temporary
                        # lib and then running pmdinfogen on the contents of
                        # that lib. The final lib reuses the object files and
@@ -183,8 +186,10 @@ foreach subpath:subdirs
                        lk_deps = [version_map, def_file, mingw_map]
                        if is_windows
                                if is_ms_linker
-                                       lk_args = ['-Wl,/def:' + def_file.full_path(),
-                                               '-Wl,/implib:drivers\\' + implib]
+                                       lk_args = ['-Wl,/def:' + def_file.full_path()]
+                                       if meson.version().version_compare('<0.54.0')
+                                               lk_args += ['-Wl,/implib:drivers\\' + implib]
+                                       endif
                                else
                                        lk_args = ['-Wl,--version-script=' + mingw_map.full_path()]
                                endif