install_tag: 'libsystemd',
install_dir : libdir)
-alias_target('libsystemd', libsystemd)
-
install_libsystemd_static = static_library(
'systemd',
libsystemd_sources,
userspace],
c_args : libsystemd_c_args + (static_libsystemd_pic ? [] : ['-fno-PIC']))
+if static_libsystemd != 'false'
+ alias_target('libsystemd', libsystemd, install_libsystemd_static)
+else
+ alias_target('libsystemd', libsystemd)
+endif
+
libudev = shared_library(
'udev',
version : libudev_version,
install_tag: 'libudev',
install_dir : libdir)
-alias_target('libudev', libudev)
-
install_libudev_static = static_library(
'udev',
basic_sources,
c_args : static_libudev_pic ? [] : ['-fno-PIC'],
pic : static_libudev_pic)
+if static_libudev != 'false'
+ alias_target('libudev', libudev, install_libudev_static)
+else
+ alias_target('libudev', libudev)
+endif
+
#####################################################################
runtest_env = custom_target(