summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-02-19 20:16:31 +0100
committerKay Sievers <kay@vrfy.org>2014-02-19 20:53:18 +0100
commit2b0a23e8644635b9826853213a6579784bffa170 (patch)
treeef45f9e1697013e7b3f62181dadaccb7e19fe562 /src
parent23abf5d5820ed9f24e8fe92fad32a207fe75398c (diff)
build-sys: export experimental symbols only with --enable-kdbus
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/.gitignore1
-rw-r--r--src/libsystemd/libsystemd.sym.m4 (renamed from src/libsystemd/libsystemd.sym)3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libsystemd/.gitignore b/src/libsystemd/.gitignore
index 50a1692374..d48e1cdd13 100644
--- a/src/libsystemd/.gitignore
+++ b/src/libsystemd/.gitignore
@@ -1 +1,2 @@
+/libsystemd.sym
/libsystemd.pc
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym.m4
index dda0447cf3..2ba02073e3 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym.m4
@@ -123,6 +123,7 @@ global:
sd_session_get_remote_user;
sd_session_get_remote_host;
+m4_ifdef(`HAVE_KDBUS',
/* sd-bus */
sd_bus_default;
sd_bus_default_user;
@@ -376,7 +377,7 @@ global:
/* sd-utf8 */
sd_utf8_is_valid;
sd_ascii_is_valid;
-
+)
local:
*;
};