I guess gopam.c needs the LDFLAGS directive as well. goinstall should dig it now

This commit is contained in:
Ken Rockot
2011-05-15 19:00:05 +00:00
parent c897eb79b3
commit 873f3d0bf4

View File

@@ -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) {