summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-11-29 16:17:32 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-12-01 14:22:05 -0500
commit8744282fa400c555bad70309b72f727532d3e7d0 (patch)
treef7950ce11be80f56d94523312a6468149056ec7d /src/libudev/Makefile.am
parent91ce21b2d7978837b233e152ac63863a910eaf21 (diff)
Put symbol versioning back, ensured libudev.sym is distributed
This is a combination of commits 67fd630e5fadeed8e0e96d396a9ebdc5f677fe98 f3666f76d5bf08572e001d1cee37e142b1a1be8f Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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