From: Nick Connolly Date: Sat, 31 Oct 2020 06:56:50 +0000 (+0000) Subject: build: fix install on Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5c7d86948764f9cec832bf3c618e0cceb06ac512;p=dpdk.git build: fix install on Windows Don't run symlink-drivers-solibs.sh as part of 'install' because Windows doesn't support shell scripts. Fixes: 82ba4416dd87 ("build: add module definition files for Windows") Cc: stable@dpdk.org Signed-off-by: Nick Connolly Tested-by: Ranjit Menon Acked-by: Ranjit Menon --- diff --git a/config/meson.build b/config/meson.build index 258b01d068..a29693b883 100644 --- a/config/meson.build +++ b/config/meson.build @@ -57,9 +57,11 @@ eal_pmd_path = join_paths(get_option('prefix'), driver_install_path) # driver .so files often depend upon the bus drivers for their connect bus, # e.g. ixgbe depends on librte_bus_pci. This means that the bus drivers need # to be in the library path, so symlink the drivers from the main lib directory. -meson.add_install_script('../buildtools/symlink-drivers-solibs.sh', - get_option('libdir'), - pmd_subdir_opt) +if not is_windows + meson.add_install_script('../buildtools/symlink-drivers-solibs.sh', + get_option('libdir'), + pmd_subdir_opt) +endif # set the machine type and cflags for it if meson.is_cross_build()