build: link libevdev

This commit is contained in:
Asmir A 2023-09-02 22:25:56 +02:00
parent bbd02babd7
commit 4553a1df64

View File

@ -24,6 +24,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
exe.linkLibC();
exe.linkSystemLibrary("evdev");
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default