X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=meson.build;h=fb62b14799189c9b639a8660ac0183b7256a3f41;hp=71a0c4f17006fcf4d8e03a51342e991368dd762f;hb=ed4d43d73e2b9f50c6ad6513b0f817bcc278f869;hpb=93b1f90ae17425c496257bacb21d9699dd072cf3 diff --git a/meson.build b/meson.build index 71a0c4f170..fb62b14799 100644 --- a/meson.build +++ b/meson.build @@ -77,6 +77,13 @@ configure_file(output: build_cfg, # them. dpdk_drivers = ['-Wl,--whole-archive'] + dpdk_drivers + ['-Wl,--no-whole-archive'] +# 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', + driver_install_path, + get_option('libdir')) + pkg = import('pkgconfig') pkg.generate(name: meson.project_name(), filebase: 'lib' + meson.project_name().to_lower(),