mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 00:40:20 +00:00
Check for libudev as plain lib as well.
This commit is contained in:
parent
736c4147e9
commit
88f10ae555
1
Makefile
1
Makefile
@ -94,6 +94,7 @@ endif
|
||||
|
||||
ifneq ($(findstring Linux,$(OS)),)
|
||||
LIBS += -lrt
|
||||
JOYCONFIG_LIBS += -lrt
|
||||
OBJ += input/linuxraw_input.o input/linuxraw_joypad.o
|
||||
JOYCONFIG_OBJ += tools/linuxraw_joypad.o
|
||||
endif
|
||||
|
@ -255,6 +255,10 @@ else
|
||||
fi
|
||||
|
||||
check_pkgconf UDEV libudev
|
||||
if [ "$HAVE_UDEV" = "no" ]; then
|
||||
HAVE_UDEV=auto && check_lib UDEV "-ludev"
|
||||
[ "$HAVE_UDEV" = "yes" ] && UDEV_LIBS=-ludev
|
||||
fi
|
||||
|
||||
check_lib STRL -lc strlcpy
|
||||
check_lib STRCASESTR -lc strcasestr
|
||||
|
Loading…
x
Reference in New Issue
Block a user