numam-dpdk/buildtools
Bruce Richardson e09848337c build: fix ninja install on FreeBSD
The post-install script to symlink the PMDs from their own PMD directory to
the regular lib directory (so they would be found by ld at runtime) was
using the "-r" flag to ln to create relative symlinks. This flag is
unsupported by ln on FreeBSD causing the ninja install step to fail.

Reworking the script to take the relative driver path as parameter removes
the need for ln to calculate the relative path ensuring compatibility with
FreeBSD.

As part of the fix, we move the registration of the install script to the
config/meson.build file, from the top level one. This improves readability
as the script takes as parameters the variables set in that file.

Fixes: ed4d43d73e ("build: symlink drivers to library directory")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
2019-05-02 23:07:04 +02:00
..
pmdinfogen mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
auto-config-h.sh buildtools: fix build for some mktemp 2018-10-27 15:30:25 +02:00
check-experimental-syms.sh test: fix build 2018-11-12 01:38:39 +01:00
gen-build-mk.sh mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
gen-config-h.sh
gen-pmdinfo-cfile.sh
Makefile
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
options-ibverbs-static.sh config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
relpath.sh
symlink-drivers-solibs.sh build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00