mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
debug libtool hack for wince build
This commit is contained in:
parent
f5672d2dff
commit
fa2477edb4
1 changed files with 10 additions and 3 deletions
|
|
@ -39,6 +39,7 @@ case $target_os in
|
|||
CFLAGS="$CFLAGS -D_WIN32_WCE"
|
||||
LIBS="$LIBS -lws2 -liphlpapi"
|
||||
mingw_found=yes
|
||||
mingwce_found=yes
|
||||
;;
|
||||
*mingw*)
|
||||
CFLAGS="$CFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
|
||||
|
|
@ -88,9 +89,15 @@ dnl gettext macro does not work properly under mingw.
|
|||
AM_GNU_GETTEXT([external])
|
||||
LIBS="$LIBS $LIBINTL"
|
||||
else
|
||||
AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
|
||||
AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
|
||||
LIBS="$LIBS -L/usr/lib -lintl"
|
||||
if test "$mingwce_found" != "yes" ; then
|
||||
AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
|
||||
AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
|
||||
LIBS="$LIBS -L/usr/lib -lintl"
|
||||
else
|
||||
dnl gettext macro does not work properly under mingw.
|
||||
AM_GNU_GETTEXT([external])
|
||||
LIBS="$LIBS $LIBINTL"
|
||||
fi
|
||||
fi
|
||||
|
||||
GETTEXT_PACKAGE=linphone
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue