From 430d0dfcb24178fd079be5d6988298bffec8beab Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 8 Feb 2016 00:50:51 -0700 Subject: support static linking against libc --- src/analyze.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index bbda180b7f..7e71ac2db3 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -5852,6 +5852,9 @@ void find_libc_path(CodeGen *g) { if (!g->libc_lib_dir || buf_len(g->libc_lib_dir) == 0) { zig_panic("Unable to determine libc lib path. probably need to reconfigure"); } + if (!g->libc_static_lib_dir || buf_len(g->libc_static_lib_dir) == 0) { + zig_panic("Unable to determine libc static lib path. probably need to reconfigure"); + } if (!g->libc_include_dir || buf_len(g->libc_include_dir) == 0) { zig_panic("Unable to determine libc include path. probably need to reconfigure"); } -- cgit v1.2.3