You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
608 B

  1. From 608b183335725bcc1c2dd8b615551c49ec3b9c88 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Mon, 11 May 2020 10:46:37 +0800
  4. Subject: [PATCH] configure: allow enabling/disabling libudev from command line
  5. ---
  6. configure | 4 ++++
  7. 1 file changed, 4 insertions(+)
  8. diff --git a/configure b/configure
  9. index c8d2ac1c3e..cf3f8ffdd7 100755
  10. --- a/configure
  11. +++ b/configure
  12. @@ -1601,6 +1601,10 @@ for opt do
  13. ;;
  14. --gdb=*) gdb_bin="$optarg"
  15. ;;
  16. + --enable-libudev) libudev=yes
  17. + ;;
  18. + --disable-libudev) libudev=no
  19. + ;;
  20. --disable-fortify-source) fortify_source="no"
  21. ;;
  22. *)