| ... | @@ -59,6 +59,7 @@ pub fn detect(arena: Allocator, native_target: std.Target) !NativePaths { | ... | @@ -59,6 +59,7 @@ pub fn detect(arena: Allocator, native_target: std.Target) !NativePaths { |
| 59 | } else if (word.len > 2 and word[0] == '-' and word[1] == 'L') { | 59 | } else if (word.len > 2 and word[0] == '-' and word[1] == 'L') { |
| 60 | const lib_path = word[2..]; | 60 | const lib_path = word[2..]; |
| 61 | try self.addLibDir(lib_path); | 61 | try self.addLibDir(lib_path); |
| | 62 | try self.addRPath(lib_path); |
| 62 | } else { | 63 | } else { |
| 63 | try self.addWarningFmt("Unrecognized C flag from NIX_LDFLAGS: {s}", .{word}); | 64 | try self.addWarningFmt("Unrecognized C flag from NIX_LDFLAGS: {s}", .{word}); |
| 64 | break; | 65 | break; |