summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 985bfb0eb68f..74911610a3e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3531,6 +3531,11 @@ reg_get_value()
# Return value: $regvalue
unset regvalue
+ if test "$build_os" = "wsl"; then
+ regvalue=$($BUILDDIR/solenv/wsl/wsl-lo-helper.exe --read-registry $1 "$2")
+ return
+ fi
+
local _regentry="/proc/registry${1}/${2}"
if test -f "$_regentry"; then
# Stop bash complaining about \0 bytes in input, as it can't handle them.