xref: /aosp_15_r20/external/libcap/pam_cap/lazylink.c (revision 2810ac1b38eead2603277920c78344c84ddf3aff)
1 /*
2  * Test if the provided LDFLAGS support lazy linking
3  */
4 #include <stdio.h>
5 #include <stdlib.h>
6 
7 #include "../libcap/execable.h"
8 
9 extern int nothing_sets_this(void);
10 extern void nothing_uses_this(void);
11 
nothing_uses_this(void)12 void nothing_uses_this(void)
13 {
14     nothing_sets_this();
15 }
16 
SO_MAIN(int argc,char ** argv)17 SO_MAIN(int argc, char **argv)
18 {
19     exit(0);
20 }
21