chiark / gitweb /
fix libudev include in Makefile.am.in
[elogind.git] / Makefile.am.inc
index f61706a..7a8659e 100644 (file)
@@ -1,9 +1,10 @@
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
+       -I$(top_srcdir)/libudev \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\" \
-       -D_LIBUDEV_COMPILATION
+       -DUDEV_PREFIX=\""$(udev_prefix)"\"
 
 AM_CFLAGS =
 
 
 AM_CFLAGS =
 
-AM_LDFLAGS =
+AM_LDFLAGS = \
+       -Wl,--as-needed