configure: Add fallback link command line for libudev.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-11-18 17:11:33 -06:00
parent a4ed76b948
commit 32fa34bf09
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -12989,7 +12989,7 @@ if ${UDEV_LIBS:+false} :; then :
fi
fi
UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
$as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
$as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
ac_save_CPPFLAGS=$CPPFLAGS

View File

@ -1524,7 +1524,7 @@ WINE_NOTICE_WITH(oss,[test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes]
dnl **** Check for libudev ****
if test "x$with_udev" != "xno"
then
WINE_PACKAGE_FLAGS(UDEV,[libudev],,,,
WINE_PACKAGE_FLAGS(UDEV,[libudev],[-ludev],,,
[AC_CHECK_HEADERS(libudev.h,
[AC_CHECK_LIB(udev,udev_new,
AC_DEFINE(HAVE_UDEV,1,[Define to 1 if you have the `udev' library (-ludev).]),