| author | |
| committer | |
| log | d7b73af8f65bb891c8700ed47777144bb6f35fe1 |
| tree | ef656afc1e0813cc0dedb29d6390f3b3d6a8f03a |
| parent | c76ce25a6165e96015b11d506e3c968c6c8dca2c |
2 files changed, 2 insertions(+), 1 deletions(-)
lib/std/zig/system/NativePaths.zig+1| ... | ... | @@ -74,6 +74,7 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths |
| 74 | 74 | } else if (word.len > 2 and word[0] == '-' and word[1] == 'L') { |
| 75 | 75 | const lib_path = word[2..]; |
| 76 | 76 | try self.addLibDir(lib_path); |
| 77 | try self.addRPath(lib_path); | |
| 77 | 78 | } else { |
| 78 | 79 | try self.addWarningFmt("Unrecognized C flag from NIX_LDFLAGS: {s}", .{word}); |
| 79 | 80 | break; |
src/Compilation.zig+1-1| ... | ... | @@ -1521,7 +1521,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { |
| 1521 | 1521 | .llvm_cpu_features = llvm_cpu_features, |
| 1522 | 1522 | .skip_linker_dependencies = options.skip_linker_dependencies, |
| 1523 | 1523 | .parent_compilation_link_libc = options.parent_compilation_link_libc, |
| 1524 | .each_lib_rpath = options.each_lib_rpath orelse options.is_native_os, | |
| 1524 | .each_lib_rpath = options.each_lib_rpath orelse false, | |
| 1525 | 1525 | .build_id = build_id, |
| 1526 | 1526 | .cache_mode = cache_mode, |
| 1527 | 1527 | .disable_lld_caching = options.disable_lld_caching or cache_mode == .whole, |