summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-13 21:04:39 +0800
committerruki <[email protected]>2017-06-13 21:04:39 +0800
commit54b63cddb0667acee92726486d916e296b6126d3 (patch)
tree8dcc2a1ebca98f088b94a36cbb480c5184e351d2
parent0ee5a8ae20143a27ca051e56712beeddb02e7b4a (diff)
fix find_openssl regpath bug
-rw-r--r--xmake/modules/detect/package/find_openssl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/package/find_openssl.lua b/xmake/modules/detect/package/find_openssl.lua
index 7dd344d53..9efe76370 100644
--- a/xmake/modules/detect/package/find_openssl.lua
+++ b/xmake/modules/detect/package/find_openssl.lua
@@ -44,7 +44,7 @@ function main(opt)
local bits = ifelse(opt.arch == "x64", "64", "32")
-- init search pathes
- local pathes = {"$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL (" .. bits .. "-bit)_is1;Inno Setup: App Path)",
+ local pathes = {"$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL %(" .. bits .. "-bit%)_is1;Inno Setup: App Path)",
"$(env PROGRAMFILES)/OpenSSL",
"$(env PROGRAMFILES)/OpenSSL-Win" .. bits,
"C:/OpenSSL",