fix for potential resource leak
[platform/upstream/at-spi2-core.git] / meson.build
index ab48912..e86454d 100644 (file)
@@ -28,6 +28,7 @@ atspi_datadir = join_paths(atspi_prefix, get_option('datadir'))
 atspi_libexecdir = join_paths(atspi_prefix, get_option('libexecdir'))
 atspi_sysconfdir = join_paths(atspi_prefix, get_option('sysconfdir'))
 atspi_libdir = join_paths(atspi_prefix, get_option('libdir'))
+atspi_bindir = join_paths(atspi_prefix, get_option('bindir'))
 atspi_includedir = join_paths(atspi_prefix, get_option('includedir'))
 
 if get_option('dbus_services_dir') != 'default'
@@ -42,6 +43,12 @@ else
   systemd_user_dir = join_paths(get_option('prefix'), 'lib/systemd/user')
 endif
 
+if get_option('systemd_system_dir') != 'default'
+  systemd_system_dir = get_option('systemd_system_dir')
+else
+  systemd_system_dir = join_paths(get_option('prefix'), 'lib/systemd/system')
+endif
+
 # Dependencies
 libdbus_req_version = '>= 1.5'
 glib_req_version = '>= 2.32.0'