summaryrefslogtreecommitdiff
path: root/src/gudev
diff options
context:
space:
mode:
Diffstat (limited to 'src/gudev')
-rw-r--r--src/gudev/Makefile.am6
-rw-r--r--src/gudev/libgudev-1.0.sym68
2 files changed, 72 insertions, 2 deletions
diff --git a/src/gudev/Makefile.am b/src/gudev/Makefile.am
index 98fd60e90a..e5890f68f1 100644
--- a/src/gudev/Makefile.am
+++ b/src/gudev/Makefile.am
@@ -33,6 +33,7 @@ CLEANFILES = \
gudev-1.0.pc
libgudev_1_0_la_SOURCES = \
+ libgudev-1.0.sym \
gudevenumtypes.c\
gudevclient.c \
gudevdevice.c \
@@ -69,8 +70,9 @@ libgudev_1_0_la_LIBADD = \
libgudev_1_0_la_LDFLAGS = \
$(AM_LDFLAGS) \
-version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \
- -export-dynamic -no-undefined \
- -export-symbols-regex '^g_udev_.*'
+ -export-dynamic \
+ -no-undefined \
+ -Wl,--version-script=$(top_srcdir)/src/gudev/libgudev-1.0.sym
gudevmarshal.h: gudevmarshal.list
$(AM_V_at)$(MKDIR_P) $(dir $@)
diff --git a/src/gudev/libgudev-1.0.sym b/src/gudev/libgudev-1.0.sym
new file mode 100644
index 0000000000..0600486e9c
--- /dev/null
+++ b/src/gudev/libgudev-1.0.sym
@@ -0,0 +1,68 @@
+/***
+ 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.
+***/
+
+{
+global:
+ g_udev_client_get_type;
+ g_udev_client_new;
+ g_udev_client_query_by_device_file;
+ g_udev_client_query_by_device_number;
+ g_udev_client_query_by_subsystem;
+ g_udev_client_query_by_subsystem_and_name;
+ g_udev_client_query_by_sysfs_path;
+ g_udev_device_get_action;
+ g_udev_device_get_device_file;
+ g_udev_device_get_device_file_symlinks;
+ g_udev_device_get_device_number;
+ g_udev_device_get_device_type;
+ g_udev_device_get_devtype;
+ g_udev_device_get_driver;
+ g_udev_device_get_is_initialized;
+ g_udev_device_get_name;
+ g_udev_device_get_number;
+ g_udev_device_get_parent;
+ g_udev_device_get_parent_with_subsystem;
+ g_udev_device_get_property;
+ g_udev_device_get_property_as_boolean;
+ g_udev_device_get_property_as_double;
+ g_udev_device_get_property_as_int;
+ g_udev_device_get_property_as_strv;
+ g_udev_device_get_property_as_uint64;
+ g_udev_device_get_property_keys;
+ g_udev_device_get_seqnum;
+ g_udev_device_get_subsystem;
+ g_udev_device_get_sysfs_attr;
+ g_udev_device_get_sysfs_attr_as_boolean;
+ g_udev_device_get_sysfs_attr_as_double;
+ g_udev_device_get_sysfs_attr_as_int;
+ g_udev_device_get_sysfs_attr_as_strv;
+ g_udev_device_get_sysfs_attr_as_uint64;
+ g_udev_device_get_sysfs_attr_keys;
+ g_udev_device_get_sysfs_path;
+ g_udev_device_get_tags;
+ g_udev_device_get_type;
+ g_udev_device_get_usec_since_initialized;
+ g_udev_device_has_property;
+ g_udev_device_has_sysfs_attr;
+ g_udev_device_type_get_type;
+ g_udev_enumerator_add_match_is_initialized;
+ g_udev_enumerator_add_match_name;
+ g_udev_enumerator_add_match_property;
+ g_udev_enumerator_add_match_subsystem;
+ g_udev_enumerator_add_match_sysfs_attr;
+ g_udev_enumerator_add_match_tag;
+ g_udev_enumerator_add_nomatch_subsystem;
+ g_udev_enumerator_add_nomatch_sysfs_attr;
+ g_udev_enumerator_add_sysfs_path;
+ g_udev_enumerator_execute;
+ g_udev_enumerator_get_type;
+ g_udev_enumerator_new;
+local:
+ *;
+};