diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-08-28 18:45:10 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-08-28 18:45:10 +0200 |
commit | 70129c00acc1e768eea3b977cf4dc51b338aa5ec (patch) | |
tree | 18a56d499d8601c98b8830e2924d3d9e2b991b3c | |
parent | afd91e35a1753ee61edfd64b8e7c414f5569ce26 (diff) |
libintl fix for osx
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f87ca513..9be6eb1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,7 @@ deadbeef_SOURCES =\ sdkdir = $(pkgincludedir) sdk_HEADERS = deadbeef.h -deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread +deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread $(INTL_LIBS) AM_CFLAGS = $(DEPS_CFLAGS) -std=c99 AM_CPPFLAGS = $(DEPS_CFLAGS) diff --git a/configure.ac b/configure.ac index b62a75fd..5ee8ef4b 100644 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,8 @@ AS_IF([test "${enable_abstract_socket}" != "no"], [ USE_ABSTRACT_SOCKET_NAME=yes ]) +AC_CHECK_LIB([intl], [main], [INTL_LIBS="-lintl";AC_SUBST(INTL_LIBS)]) + dnl check for yasm AC_CHECK_PROG(HAVE_YASM, yasm, yes, no) |