Skip to content

Commit 5120c51

Browse files
committed
[gn] port e77ac42
1 parent 030ee84 commit 5120c51

File tree

1 file changed

+7
-0
lines changed
  • llvm/utils/gn/secondary/lldb/include/lldb/Host

1 file changed

+7
-0
lines changed

llvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import("//llvm/utils/gn/build/libs/curl/enable.gni")
12
import("//llvm/utils/gn/build/libs/xml/enable.gni")
23
import("//llvm/utils/gn/build/write_cmake_config.gni")
34
import("libedit.gni")
@@ -54,6 +55,12 @@ write_cmake_config("Config") {
5455
]
5556
}
5657

58+
if (llvm_enable_libcurl) {
59+
values += [ "LLVM_ENABLE_CURL=1" ]
60+
} else {
61+
values += [ "LLVM_ENABLE_CURL=" ]
62+
}
63+
5764
if (current_os == "win" || current_os == "linux" || current_os == "android") {
5865
values += [ "HAVE_SYS_EVENT_H=" ]
5966
} else {

0 commit comments

Comments
 (0)