summaryrefslogtreecommitdiff
path: root/Linux-PAM/tests/tst-dlopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/tests/tst-dlopen.c')
-rw-r--r--Linux-PAM/tests/tst-dlopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Linux-PAM/tests/tst-dlopen.c b/Linux-PAM/tests/tst-dlopen.c
index 272d58bc..e4770eea 100644
--- a/Linux-PAM/tests/tst-dlopen.c
+++ b/Linux-PAM/tests/tst-dlopen.c
@@ -19,6 +19,9 @@
/* Simple program to see if dlopen() would succeed. */
int main(int argc, char **argv)
{
+#ifdef PAM_STATIC
+ return 77;
+#else
int i;
struct stat st;
char buf[PATH_MAX];
@@ -40,5 +43,6 @@ int main(int argc, char **argv)
}
}
return 0;
+#endif
}