summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c43847f)
By default, AC_CHECK_LIB will append to $LIBS, which is used for all
link stages. Intstead, we should popuate $UDEV_LIBS, and just use that
for the single pb-discover link stage.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
fi
AC_CHECK_LIB([udev], [udev_new],
fi
AC_CHECK_LIB([udev], [udev_new],
[AC_MSG_FAILURE([The libudev development library is required by petitboot. Try installing the package libudev-dev or libudev-devel.])]
)
[AC_MSG_FAILURE([The libudev development library is required by petitboot. Try installing the package libudev-dev or libudev-devel.])]
)
AC_SUBST([LIBTOOL_DEPS])
AC_SUBST([DESTDIR])
AC_SUBST([pkgsysconfdir], ["${sysconfdir}/${package}"])
AC_SUBST([LIBTOOL_DEPS])
AC_SUBST([DESTDIR])
AC_SUBST([pkgsysconfdir], ["${sysconfdir}/${package}"])
discover/pxe-parser.c
discover_pb_discover_LDADD = \
discover/pxe-parser.c
discover_pb_discover_LDADD = \
+ discover/grub2/grub2-parser.ro \
- discover/grub2/grub2-parser.ro
-
-discover_pb_discover_LDFLAGS = -ludev
discover_pb_discover_CPPFLAGS = \
$(AM_CPPFLAGS) \
discover_pb_discover_CPPFLAGS = \
$(AM_CPPFLAGS) \