From eb017f6cb0977fad5b452a0231b02115e506e53b Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Fri, 29 Mar 2019 11:28:54 +0100 Subject: [PATCH] evdev: resurrect udev - fix hot swapping --- shell/linux/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/linux/Makefile b/shell/linux/Makefile index 5c59eefc1..eea87ef76 100644 --- a/shell/linux/Makefile +++ b/shell/linux/Makefile @@ -331,8 +331,11 @@ endif ifdef USE_EVDEV CXXFLAGS += -D USE_EVDEV +ifdef USE_UDEV + CXXFLAGS += -D USE_UDEV LIBS += -ludev endif +endif ifdef USE_JOYSTICK CXXFLAGS += -D USE_JOYSTICK