diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2011-07-18 00:34:11 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2011-07-18 00:34:11 +0900 |
commit | 5ab14fa01d32432b8d7ce68789898d3380dd3ed8 (patch) | |
tree | 56dec04f4aba1d272580951b44fb0c5b42f17514 | |
parent | 66719de3a9d5a94bd2a836b8fd3e7423dbb49f53 (diff) | |
download | libhangul-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.in | 2 | ||||
-rw-r--r-- | test/Makefile.am | 6 | ||||
-rw-r--r-- | tools/Makefile.am | 2 |
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) |