summaryrefslogtreecommitdiffstats
path: root/src/compat-libs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-25 22:05:08 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-01-26 00:10:08 +0100
commitbe12791331b9b64867b5aa4b13df88c1a2b7e2a1 (patch)
treea280197dacd1b55d23485dc01148142adb076c22 /src/compat-libs
parentbuild-sys: create "compatibility libraries" section (diff)
downloadsystemd-be12791331b9b64867b5aa4b13df88c1a2b7e2a1.tar.xz
systemd-be12791331b9b64867b5aa4b13df88c1a2b7e2a1.zip
build-sys: merge libsystemd-id128 into libsystemd
Diffstat (limited to 'src/compat-libs')
-rw-r--r--src/compat-libs/.gitignore2
-rw-r--r--src/compat-libs/libsystemd-id128.pc.in18
-rw-r--r--src/compat-libs/libsystemd-id128.sym21
3 files changed, 40 insertions, 1 deletions
diff --git a/src/compat-libs/.gitignore b/src/compat-libs/.gitignore
index 0b8d1067d9..662c154cdd 100644
--- a/src/compat-libs/.gitignore
+++ b/src/compat-libs/.gitignore
@@ -1 +1 @@
-/libsystemd-login.pc
+/libsystemd-*.pc
diff --git a/src/compat-libs/libsystemd-id128.pc.in b/src/compat-libs/libsystemd-id128.pc.in
new file mode 100644
index 0000000000..bb65ffde33
--- /dev/null
+++ b/src/compat-libs/libsystemd-id128.pc.in
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: systemd
+Description: systemd 128 Bit ID Utility Library
+URL: @PACKAGE_URL@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lsystemd-id128
+Cflags: -I${includedir}
diff --git a/src/compat-libs/libsystemd-id128.sym b/src/compat-libs/libsystemd-id128.sym
new file mode 100644
index 0000000000..604c0026c6
--- /dev/null
+++ b/src/compat-libs/libsystemd-id128.sym
@@ -0,0 +1,21 @@
+/***
+ This file is part of systemd.
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+***/
+
+/* Original symbols from systemd v38 */
+
+LIBSYSTEMD_ID128_38 {
+global:
+ sd_id128_to_string;
+ sd_id128_from_string;
+ sd_id128_randomize;
+ sd_id128_get_machine;
+ sd_id128_get_boot;
+local:
+ *;
+};