chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / libelogind / meson.build
index bacf323bd4bd1ef2dc8c3b0dc0c4c050032e255b..6e390490ec3e6d6612b255a48181252e38699a2c 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1+
 #
-# Copyright 2017 Zbigniew Jędrzejewski-Szmek
+# Copyright © 2017 Zbigniew Jędrzejewski-Szmek
 
 id128_sources = files('''
         sd-id128/id128-util.c
@@ -130,24 +130,26 @@ libelogind_sources = files('''
 #endif // 0
 
 libelogind_static = static_library(
-        'elogind',
         libelogind_sources,
+libelogind_c_args = ['-fvisibility=default']
+
+        'elogind_static',
         install : false,
         include_directories : includes,
         link_with : libbasic,
 #if 0 /// elogind does not need librt
 #         dependencies : [threads,
 #                         librt],
+#         c_args : libsystemd_c_args)
+# 
+# libsystemd_sym = 'src/libsystemd/libsystemd.sym'
+# 
+# libsystemd_pc = configure_file(
+#         input : 'libsystemd.pc.in',
+#         output : 'libsystemd.pc',
+# install_data(libsystemd_pc,
 #else
         dependencies : [threads],
 #endif // 0
-        c_args : ['-fvisibility=default'])
-
-libelogind_sym = 'src/libelogind/libelogind.sym'
-
-libelogind_pc = configure_file(
-        input : 'libelogind.pc.in',
-        output : 'libelogind.pc',
         configuration : substs)
-install_data(libelogind_pc,
              install_dir : pkgconfiglibdir)