summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-06-16 10:37:29 +0000
committerSimon Josefsson <simon@josefsson.org>2006-06-16 10:37:29 +0000
commit02fa9b5164aec199e467e4931859542e1ebf2e2c (patch)
tree9222d719fe681372320030c42debe751df74fc69 /gl
parent40710726ff436b63652b58260eceeed21beea182 (diff)
downloadgnutls-02fa9b5164aec199e467e4931859542e1ebf2e2c.tar.gz
Update.
Diffstat (limited to 'gl')
-rw-r--r--gl/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/gl/Makefile.am b/gl/Makefile.am
index 724ca163c0..1649f7d47e 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -86,6 +86,12 @@ libgnu_la_SOURCES += getaddrinfo.h
# directory contains no libintl.h file) or when the project does not use
# "gettextize --intl".
AM_CPPFLAGS += -I$(top_builddir)/intl
+# We also need to link to libintl, if needed.
+if GL_COND_LIBTOOL
+libgnu_la_LIBADD += $(LTLIBINTL)
+else
+libgnu_la_LIBADD += $(LIBINTL)
+endif
## end gnulib module gettext