summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2011-07-18 00:34:11 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2011-07-18 00:34:11 +0900
commit5ab14fa01d32432b8d7ce68789898d3380dd3ed8 (patch)
tree56dec04f4aba1d272580951b44fb0c5b42f17514
parent66719de3a9d5a94bd2a836b8fd3e7423dbb49f53 (diff)
downloadlibhangul-5ab14fa01d32432b8d7ce68789898d3380dd3ed8.tar.gz
Use variable LIBINTL
To compile with GNU gettext, we need libintl on freebsd. So it is safer to specify the variable LIBINTL which is set by AM_GNU_GETTEXT. git-svn-id: http://kldp.net/svn/hangul/libhangul/trunk@261 8f00fcd2-89fc-0310-932e-b01be5b65e01
-rw-r--r--libhangul.pc.in2
-rw-r--r--test/Makefile.am6
-rw-r--r--tools/Makefile.am2
3 files changed, 5 insertions, 5 deletions
diff --git a/libhangul.pc.in b/libhangul.pc.in
index 07382f5..1801eab 100644
--- a/libhangul.pc.in
+++ b/libhangul.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@/hangul-1.0
Name: libhangul
Description: Hangul hanja input support
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lhangul
+Libs: -L${libdir} -lhangul @LIBINTL@
Cflags: -I${includedir}
diff --git a/test/Makefile.am b/test/Makefile.am
index e53aa22..e47221b 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -3,14 +3,14 @@ noinst_PROGRAMS = hangul hanja
hangul_CFLAGS =
hangul_SOURCES = hangul.c
-hangul_LDADD = ../hangul/libhangul.la
+hangul_LDADD = ../hangul/libhangul.la $(LTLIBINTL)
hanja_CFLAGS =
hanja_SOURCES = hanja.c
-hanja_LDADD = ../hangul/libhangul.la
+hanja_LDADD = ../hangul/libhangul.la $(LTLIBINTL)
TESTS = test
check_PROGRAMS = test
test_SOURCES = test.c ../hangul/hangul.h
test_CFLAGS = @CHECK_CFLAGS@
-test_LDADD = @CHECK_LIBS@ $(top_builddir)/hangul/libhangul.la
+test_LDADD = @CHECK_LIBS@ $(top_builddir)/hangul/libhangul.la $(LTLIBINTL)
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3a50d0c..22f95fb 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -3,4 +3,4 @@ bin_PROGRAMS = hangul
hangul_SOURCES = hangul.c
hangul_CFLAGS = -DLOCALEDIR=\"$(localedir)\"
-hangul_LDADD = ../hangul/libhangul.la
+hangul_LDADD = ../hangul/libhangul.la $(LTLIBINTL)