From d37dee7450c67e94c2afdeafe13afeba8ebb48af Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 20 Jun 2023 06:08:17 +0900 Subject: [PATCH] meson: also build symbol tests for static-libsystemd=no-pic --- meson.build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index ed4b093e4e..8525b104dd 100644 --- a/meson.build +++ b/meson.build @@ -4519,10 +4519,10 @@ exe = executable( threads, userspace, ], - build_by_default : want_tests != 'false' and static_libsystemd_pic, - install : install_tests and static_libsystemd_pic, + build_by_default : want_tests != 'false' and static_libsystemd != 'false', + install : install_tests and static_libsystemd != 'false', install_dir : unittestsdir) -if want_tests != 'false' and static_libsystemd_pic +if want_tests != 'false' and static_libsystemd != 'false' test('test-libsystemd-static-sym', exe) endif @@ -4547,10 +4547,10 @@ exe = executable( c_args : ['-Wno-deprecated-declarations'] + test_cflags, link_with : [install_libudev_static], dependencies : userspace, - build_by_default : want_tests != 'false' and static_libudev_pic, - install : install_tests and static_libudev_pic, + build_by_default : want_tests != 'false' and static_libudev != 'false', + install : install_tests and static_libudev != 'false', install_dir : unittestsdir) -if want_tests != 'false' and static_libudev_pic +if want_tests != 'false' and static_libudev != 'false' test('test-libudev-static-sym', exe) endif