[DO-971] ffmpeg recipe with requirements (!9)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/9
This commit is contained in:
15
recipes/libcap/all/test_package/test_package.c
Normal file
15
recipes/libcap/all/test_package/test_package.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/capability.h>
|
||||
|
||||
int main(void) {
|
||||
puts("Allocate cap state");
|
||||
cap_t cap = cap_get_proc();
|
||||
if (!cap) {
|
||||
puts("Failed");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
puts("Success");
|
||||
cap_free(cap);
|
||||
}
|
||||
Reference in New Issue
Block a user