diff options
Diffstat (limited to 'pam_cap/lazylink.c')
-rw-r--r-- | pam_cap/lazylink.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pam_cap/lazylink.c b/pam_cap/lazylink.c new file mode 100644 index 0000000..969c92d --- /dev/null +++ b/pam_cap/lazylink.c @@ -0,0 +1,20 @@ +/* + * Test if the provided LDFLAGS support lazy linking + */ +#include <stdio.h> +#include <stdlib.h> + +#include "../libcap/execable.h" + +extern int nothing_sets_this(void); +extern void nothing_uses_this(void); + +void nothing_uses_this(void) +{ + nothing_sets_this(); +} + +SO_MAIN(int argc, char **argv) +{ + exit(0); +} |