From 873f3d0bf4f0b9fd7533f5dbb5afd2aefce84a26 Mon Sep 17 00:00:00 2001 From: Ken Rockot Date: Sun, 15 May 2011 19:00:05 +0000 Subject: [PATCH] I guess gopam.c needs the LDFLAGS directive as well. goinstall should dig it now --- pam/gopam.c | 2 ++ 1 file changed, 2 insertions(+) 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) {