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

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