diff options
-rw-r--r-- | pam/gopam.c | 2 | ||||
-rw-r--r-- | pam/pam.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pam/gopam.c b/pam/gopam.c index 5dfb5c6..90d3de3 100644 --- a/pam/gopam.c +++ b/pam/gopam.c @@ -5,8 +5,6 @@ #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) { @@ -4,6 +4,7 @@ package pam import ( //#include "gopam.h" + //#cgo LDFLAGS: -lpam "C" "unsafe" "strings" |