| ... | ... | @@ -495,12 +495,16 @@ pub const Builder = struct { |
| 495 | 495 | |
| 496 | 496 | self.addNativeSystemIncludeDir("/usr/local/include"); |
| 497 | 497 | self.addNativeSystemLibPath("/usr/local/lib"); |
| 498 | self.addNativeSystemLibPath("/usr/local/lib64"); |
| 498 | 499 | |
| 499 | 500 | self.addNativeSystemIncludeDir(self.fmt("/usr/include/{}", .{triple})); |
| 500 | 501 | self.addNativeSystemLibPath(self.fmt("/usr/lib/{}", .{triple})); |
| 501 | 502 | |
| 502 | 503 | self.addNativeSystemIncludeDir("/usr/include"); |
| 504 | self.addNativeSystemLibPath("/lib"); |
| 505 | self.addNativeSystemLibPath("/lib64"); |
| 503 | 506 | self.addNativeSystemLibPath("/usr/lib"); |
| 507 | self.addNativeSystemLibPath("/usr/lib64"); |
| 504 | 508 | |
| 505 | 509 | // example: on a 64-bit debian-based linux distro, with zlib installed from apt: |
| 506 | 510 | // zlib.h is in /usr/include (added above) |