From 2223b6cee9d64d43454edb331624642cc6b92bde Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 5 May 2021 16:21:05 +0200 Subject: [PATCH] lib: restore developer mode checks Most of the checks on developer_mode have been accidentally dropped. Restore them. Fixes: 7d611e35b077 ("lib: simplify main build file") Signed-off-by: David Marchand Acked-by: Bruce Richardson --- lib/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/meson.build b/lib/meson.build index 64a59abab6..77f363a516 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -170,7 +170,7 @@ foreach l:libraries libname = 'rte_' + name includes += include_directories(l) - if is_windows and use_function_versioning + if developer_mode and is_windows and use_function_versioning message('@0@: Function versioning is not supported by Windows.'.format(name)) endif @@ -227,7 +227,7 @@ foreach l:libraries endif lk_deps = [version_map, def_file, mingw_map] - if not is_windows + if developer_mode and not is_windows # on unix systems check the output of the # check-symbols.sh script, using it as a # dependency of the .so build -- 2.20.1