summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/Makefile.am')
-rw-r--r--src/libudev/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
index e78fc631a6..a95a9a433c 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -63,7 +63,8 @@ libudev_la_CFLAGS = \
libudev_la_LDFLAGS = \
$(AM_LDFLAGS) \
- -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE)
+ -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
+ -Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
libudev_private_la_SOURCES =\
@@ -82,7 +83,8 @@ pkgconfiglib_DATA = \
libudev.pc
EXTRA_DIST = \
- libudev.pc.in
+ libudev.pc.in \
+ libudev.sym
CLEANFILES = \
libudev.pc