summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Rockot <[email protected]>2011-05-15 20:52:32 +0000
committerKen Rockot <[email protected]>2011-05-15 20:52:32 +0000
commitc60b8b6da28ad4660d5ca8fdd59db0df4e1bf0b8 (patch)
treee79eab270e420d3b1eceaecf5fbba9ff721c31cf
parent873f3d0bf4f0b9fd7533f5dbb5afd2aefce84a26 (diff)
.
-rw-r--r--pam/gopam.c2
-rw-r--r--pam/pam.go1
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) {
diff --git a/pam/pam.go b/pam/pam.go
index 9c97cab..08ba614 100644
--- a/pam/pam.go
+++ b/pam/pam.go
@@ -4,6 +4,7 @@ package pam
import (
//#include "gopam.h"
+ //#cgo LDFLAGS: -lpam
"C"
"unsafe"
"strings"