3 /* makedb needs selinux dso's. */
5 # include <selinux/selinux.h>
8 /* The purpose of this file is to indicate to the build system which
9 shared objects need to be copied into the testroot, such as gcc or
10 selinux support libraries. This program is never executed, only
11 scanned for dependencies on shared objects, so the code below may
12 seem weird - it's written to survive gcc optimization and force
17 main (int argc
, char **argv
)
19 /* Complexity to keep gcc from optimizing this away. */
20 printf ("This is a test %s.\n", argc
> 1 ? argv
[1] : "null");
22 /* This exists to force libselinux.so to be required. */
23 printf ("selinux %d\n", is_selinux_enabled ());