aboutsummaryrefslogtreecommitdiff
path: root/gettext.go
diff options
context:
space:
mode:
Diffstat (limited to 'gettext.go')
-rw-r--r--gettext.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext.go b/gettext.go
index 4550ba1..cfd146b 100644
--- a/gettext.go
+++ b/gettext.go
@@ -23,6 +23,8 @@
package gettext
/*
+// #cgo LDFLAGS: -lintl // Use this if: /usr/bin/ld: cannot find -lintl, see https://github.com/gosexy/gettext/issues/1
+
#include <libintl.h>
#include <locale.h>