summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Rockot <[email protected]>2011-05-15 19:00:05 +0000
committerKen Rockot <[email protected]>2011-05-15 19:03:16 +0000
commit873f3d0bf4f0b9fd7533f5dbb5afd2aefce84a26 (patch)
treec48920f0ad9bd59cd0314448b08e639a3ab463ac
parentc897eb79b3d20ed44ea4b970bf80a8ee035e00d3 (diff)
I guess gopam.c needs the LDFLAGS directive as well. goinstall should dig it now
-rw-r--r--pam/gopam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pam/gopam.c b/pam/gopam.c
index 90d3de3..5dfb5c6 100644
--- a/pam/gopam.c
+++ b/pam/gopam.c
@@ -5,6 +5,8 @@
#include "gopam.h"
#include "_cgo_export.h"
+//#cgo LDFLAGS: -lpam
+
/* Simplification of pam_get_item to remove type ambiguity. Will never
be called (promise) with a type that returns anything other than a string */
get_item_result pam_get_item_string(pam_handle_t *handle, int type) {