build(linux): link with libpci
This commit is contained in:
@@ -29,6 +29,7 @@ pub fn build(b: *std.Build) void {
|
|||||||
|
|
||||||
if (target.result.os.tag == .linux) {
|
if (target.result.os.tag == .linux) {
|
||||||
exe.linkLibC();
|
exe.linkLibC();
|
||||||
|
exe.linkSystemLibrary("pci");
|
||||||
}
|
}
|
||||||
|
|
||||||
// This declares intent for the executable to be installed into the
|
// This declares intent for the executable to be installed into the
|
||||||
|
|||||||
Reference in New Issue
Block a user