Permalink
Browse files

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
  • Loading branch information...
choehwanjin committed Jul 17, 2011
1 parent 66719de commit 5ab14fa01d32432b8d7ce68789898d3380dd3ed8
Showing with 5 additions and 5 deletions.
  1. +1 −1 libhangul.pc.in
  2. +3 −3 test/Makefile.am
  3. +1 −1 tools/Makefile.am
View
@@ -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}
View
@@ -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)
View
@@ -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)

0 comments on commit 5ab14fa

Please sign in to comment.