summaryrefslogtreecommitdiff
path: root/etc/import/lib/TARGETS.curl
diff options
context:
space:
mode:
Diffstat (limited to 'etc/import/lib/TARGETS.curl')
-rw-r--r--etc/import/lib/TARGETS.curl14
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/import/lib/TARGETS.curl b/etc/import/lib/TARGETS.curl
index 397f1474..5e5ec9b0 100644
--- a/etc/import/lib/TARGETS.curl
+++ b/etc/import/lib/TARGETS.curl
@@ -3,7 +3,7 @@
, "arguments_config":
[ "OS"
, "TARGET_ARCH"
- , "COMPILER_FAMILY"
+ , "TOOLCHAIN_CONFIG"
, "CURL_HIDDEN_SYMBOLS"
, "USE_ZLIB"
, "ENABLE_ARES"
@@ -51,7 +51,17 @@
, "config":
{ "type": "let*"
, "bindings":
- [ [ "sys_hdrs"
+ [ [ "COMPILER_FAMILY"
+ , { "type": "lookup"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
+ }
+ , "key": "FAMILY"
+ }
+ ]
+ , [ "sys_hdrs"
, [ "windows.h"
, "ws2tcpip.h"
, "winsock2.h"