Fix the pam_opensc-test linking problem for AIX5.1+ and MacOS X

MacOS X doesn't have /usr/include/security so you'll need to
symlink /usr/include/pam to /usr/include/security yourself
at the moment.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1308 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2003-07-28 11:10:26 +00:00
parent 40f995994a
commit 3ed1b9dfc7
2 changed files with 2 additions and 3 deletions

View File

@ -18,5 +18,4 @@ endif
pam_opensc_la_SOURCES = $(SRC)
pam_opensc_la_LDFLAGS = -module -avoid-version
pam_opensc_test_LDADD = ../scrandom/libscrandom.la pam_opensc.la
pam_opensc_test_SOURCES = pamtest.c misc_conv.c

View File

@ -30,8 +30,8 @@
#include <unistd.h>
#endif
#include <ctype.h>
#include "pam_support.h"
#include "scam.h"
#include "pam_opensc.c"
#include "pam_support.c"
extern int misc_conv(int num_msg, PAM_CONST struct pam_message **msgm, struct pam_response **response, void *appdata_ptr);