aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Carlos Nieto <jose.carlos@menteslibres.net>2016-02-20 07:47:59 -0600
committerJosé Carlos Nieto <jose.carlos@menteslibres.net>2016-02-20 07:47:59 -0600
commit3a91898beffe5a91f070266259c7e4c4cef6ed2a (patch)
tree31f7beca1bc4b51240d10d72e67219aeb9b914c5
parentCode cleaning. (diff)
downloadgotext-3a91898beffe5a91f070266259c7e4c4cef6ed2a.tar.gz
gotext-3a91898beffe5a91f070266259c7e4c4cef6ed2a.tar.xz
Adding a note on #1.
-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>