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.

22 lines
537 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. --- a/configure
  9. +++ b/configure
  10. @@ -1601,6 +1601,10 @@ for opt do
  11. ;;
  12. --gdb=*) gdb_bin="$optarg"
  13. ;;
  14. + --enable-libudev) libudev=yes
  15. + ;;
  16. + --disable-libudev) libudev=no
  17. + ;;
  18. --disable-fortify-source) fortify_source="no"
  19. ;;
  20. *)