devtools/test-meson-builds.sh: add support for FreeBSD
Checks
Commit Message
readlink option "-m" is not supported on FreeBSD (checked on BSD 11),
so change to the largely-equivalent "-f" flag.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
devtools/test-meson-builds.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
25/02/2019 16:40, Bruce Richardson:
> readlink option "-m" is not supported on FreeBSD (checked on BSD 11),
> so change to the largely-equivalent "-f" flag.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Fixes: a55277a788df ("devtools: add test script for meson builds")
Cc: stable@dpdk.org
Applied, thanks
@@ -7,7 +7,7 @@
# * if a build-directory already exists we assume it was properly configured
# Run ninja after configuration is done.
-srcdir=$(dirname $(readlink -m $0))/..
+srcdir=$(dirname $(readlink -f $0))/..
MESON=${MESON:-meson}
use_shared="--default-library=shared"