summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-21 15:53:58 +0200
committerKay Sievers <kay@vrfy.org>2014-06-21 16:25:15 +0200
commit706b7936d0492c2ce5cafd7f57510e4c51e7c771 (patch)
treec496d07dc1614970f7433acfe5e9bcde39bf3cd5 /Makefile.am
parente09c69d9fdb2d3aa957fd7b43d9c27615b56d5ae (diff)
gudev: replace regex with sym file
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 68c53b785f..3bf7cff8b0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3164,6 +3164,7 @@ CLEANFILES += \
src/gudev/gudev-1.0.pc
libgudev_1_0_la_SOURCES = \
+ src/gudev/libgudev-1.0.sym \
src/gudev/gudevenums.h \
src/gudev/gudevenumtypes.h \
src/gudev/gudevenumtypes.h\
@@ -3207,8 +3208,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
src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list
$(AM_V_at)$(MKDIR_P) $(dir $@)