Fix resources path on BlackBerry 10.

This commit is contained in:
Ghislain MARY 2014-02-11 15:45:42 +01:00
parent 8a230b2e86
commit e42391c459
2 changed files with 12 additions and 1 deletions

View file

@ -491,7 +491,14 @@ if test "$relativeprefix" = "yes" ; then
fi
dnl Set PACKAGE_LOCALE_DIR in config.h.
DATADIRNAME=share
case "$target_os" in
*qnx*)
DATADIRNAME=app/native/assets
;;
*)
DATADIRNAME=share
;;
esac
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${package_prefix}/${DATADIRNAME}/locale",[Defines the place where locales can be found])
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${package_prefix}/${DATADIRNAME}",[Defines the place where data are found])

View file

@ -46,8 +46,12 @@ const char* test_route="sip2.linphone.org";
#if WINAPI_FAMILY_PHONE_APP
const char *liblinphone_tester_file_prefix="Assets";
#else
#ifdef __QNX__
const char *liblinphone_tester_file_prefix="./app/native/assets/";
#else
const char *liblinphone_tester_file_prefix=".";
#endif
#endif
const char *userhostsfile = "tester_hosts";