lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

902_no-udev.patch (551B)


      1 --- a/cpp/src/platform/unix/SerialControllerImpl.cpp
      2 +++ b/cpp/src/platform/unix/SerialControllerImpl.cpp
      3 @@ -34,10 +34,6 @@
      4  #include "SerialControllerImpl.h"
      5  #include "platform/Log.h"
      6  
      7 -#ifdef __linux__
      8 -#include <libudev.h>
      9 -#endif
     10 -
     11  using namespace OpenZWave;
     12  
     13  //-----------------------------------------------------------------------------
     14 --- a/cpp/build/Makefile
     15 +++ b/cpp/build/Makefile
     16 @@ -59,7 +59,7 @@ endif
     17  
     18  else
     19  LDFLAGS += -shared -Wl,-soname,libopenzwave.so.$(VERSION)
     20 -LIBS 	+= -ludev
     21 +LIBS 	+=
     22  endif
     23  CFLAGS  += $(CPPFLAGS)
     24