Link against libselinux

The library provides an implementation for setfilecon().

Signed-off-by: Alberto Faria <afaria@redhat.com>
This commit is contained in:
Alberto Faria 2023-12-22 01:10:36 +00:00
parent 485e2888bc
commit 0626aaa50e
1 changed files with 5 additions and 0 deletions

5
build.rs Normal file
View File

@ -0,0 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
fn main() {
println!("cargo:rustc-link-lib=selinux");
}