]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: also build symbol tests for static-libsystemd=no-pic
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Jun 2023 21:08:17 +0000 (06:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 22 Jun 2023 05:20:32 +0000 (14:20 +0900)
meson.build

index ed4b093e4e879ea0f7c4a9f7b7633c36c488aa04..8525b104dd525d8f630e9e4a5fc13ea9d279459c 100644 (file)
@@ -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