diff options
author | Ken Rockot <[email protected]> | 2011-05-15 20:52:32 +0000 |
---|---|---|
committer | Ken Rockot <[email protected]> | 2011-05-15 20:52:32 +0000 |
commit | c60b8b6da28ad4660d5ca8fdd59db0df4e1bf0b8 (patch) | |
tree | e79eab270e420d3b1eceaecf5fbba9ff721c31cf | |
parent | 873f3d0bf4f0b9fd7533f5dbb5afd2aefce84a26 (diff) |
.
-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" |