diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-16 19:46:48 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-16 19:46:48 +0100 |
| commit | eb424bb315a880bf52fe843733445dfb502c1525 (patch) | |
| tree | 70b625ca5169448662573ec7da75622013b247fc /src/main.cpp | |
| parent | 968de5aae886e87f395533283c17d77f31eabd0d (diff) | |
#import and #load
#import - imported entities will not get exported
#load - loaded entities will get exported
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 578b59121..2191aaa5d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -148,13 +148,13 @@ int main(int argc, char **argv) { gb_for_array(i, parser.system_libraries) { String lib = parser.system_libraries[i]; isize len = gb_snprintf(lib_str_buf, gb_size_of(lib_str_buf), - " -l%.*s", LIT(lib)); + " -l%.*s.lib", LIT(lib)); lib_str = gb_string_appendc(lib_str, lib_str_buf); } exit_code = win32_exec_command_line_app( "clang %.*s.bc -o %.*s.exe " - "-O0 " + "-O0 -g " // "-O2 " "-Wno-override-module " "%s", |