| author | |
| committer | |
| log | 79c2ceb2d59af1f84edcc7a5a683ecf38dfb1bf6 |
| tree | f10a379632d06347e7f67b5c47840d111fa3c052 |
| parent | e0a1466bd842f23983bb4a175bd16b005001a3f9 |
1 files changed, 5 insertions(+), 1 deletions(-)
build.zig+5-1| ... | ... | @@ -128,7 +128,11 @@ fn findLLVM(b: &Builder) -> ?LibraryDep { |
| 128 | 128 | if (mem.startsWith(u8, lib_arg, "-l")) { |
| 129 | 129 | %%result.system_libs.append(lib_arg[2..]); |
| 130 | 130 | } else { |
| 131 | %%result.libs.append(lib_arg); | |
| 131 | if (os.path.isAbsolute(lib_arg)) { | |
| 132 | %%result.libs.append(lib_arg); | |
| 133 | } else { | |
| 134 | %%result.system_libs.append(lib_arg); | |
| 135 | } | |
| 132 | 136 | } |
| 133 | 137 | } |
| 134 | 138 | } |