summaryrefslogtreecommitdiff
path: root/src/gudev/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-24 10:09:40 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-06-24 10:09:40 -0400
commitdf07929b8ac2177014d6d2b5f1aa713e3b4c9f70 (patch)
tree894c747d39737be3f4eb4fc8f0c70413bf61059a /src/gudev/Makefile.am
parent441d5c2b390cd4a1fbd0f460bf23298f42d7edac (diff)
gudev: replace regex with sym file
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/gudev/Makefile.am')
-rw-r--r--src/gudev/Makefile.am6
1 files changed, 4 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 $@)