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.am24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
index 57f22a6ec6..6db152466b 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -4,6 +4,9 @@ LIBUDEV_CURRENT=3
LIBUDEV_REVISION=0
LIBUDEV_AGE=2
+AM_CPPFLAGS = \
+ -I $(top_srcdir)/src/shared
+
lib_LTLIBRARIES = \
libudev.la
@@ -28,17 +31,6 @@ libudev_la_LDFLAGS = \
-version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
-Wl,--version-script=libudev.sym
-pkgconfiglibdir=$(libdir)/pkgconfig
-pkgconfiglib_DATA = \
- libudev.pc
-
-EXTRA_DIST = \
- libudev.pc.in \
- libudev.sym
-
-CLEANFILES = \
- libudev.pc
-
noinst_LTLIBRARIES = \
libudev-private.la
@@ -51,3 +43,13 @@ libudev_private_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=default
+pkgconfiglibdir=$(libdir)/pkgconfig
+pkgconfiglib_DATA = \
+ libudev.pc
+
+EXTRA_DIST = \
+ libudev.pc.in \
+ libudev.sym
+
+CLEANFILES = \
+ libudev.pc