diff --git a/cc/config/x86_darwin_host.go b/cc/config/x86_darwin_host.go index a6d4aaf86..18acef8aa 100644 --- a/cc/config/x86_darwin_host.go +++ b/cc/config/x86_darwin_host.go @@ -100,8 +100,11 @@ var ( "pthread", "z", }, "-l"), + "-framework AppKit", "-framework CoreFoundation", + "-framework Foundation", "-framework IOKit", + "-framework Security", ) ) diff --git a/cc/config/x86_windows_host.go b/cc/config/x86_windows_host.go index ab593e94b..4aad9c8ef 100644 --- a/cc/config/x86_windows_host.go +++ b/cc/config/x86_windows_host.go @@ -85,6 +85,7 @@ var ( "pthread", "userenv", "uuid", + "version", "ws2_32", }, "-l") )