Skip to contentSkip to conversation

windows: minor install fix

PATCH In review Nick Connolly 2 participants 2 messages Oct 31, 2020 – Nov 13, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 windows: minor install fix

Don't run symlink-drivers-solibs.sh as part of 'install' because Windows doesn't support shell scripts.

---
 config/meson.build | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
config/meson.build +5 -3
index 258b01d06..a29693b88 100644
@@ -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()
Signature · 1 line
2.25.1