mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
27 lines
862 B
Bash
27 lines
862 B
Bash
#export EXTRA_ARGS="--workdir $bundle_res"
|
|
export LINPHONE_WORKDIR="$bundle_res"
|
|
export GIO_EXTRA_MODULES="$bundle_lib/gio/modules"
|
|
export PANGO_LIBDIR="$bundle_lib"
|
|
export PANGO_SYSCONFDIR="$bundle_etc"
|
|
export GDK_PIXBUF_MODULE_FILE="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
|
|
|
|
#this is very important not to force a shared library path so that native frameworks can find their dependencies by themselves,
|
|
#and not be forced to use the few libraries we have in the bundle that have the same name as native libs (ex: libiconv)
|
|
export DYLD_LIBRARY_PATH=
|
|
|
|
#the fucking script of the gtk-mac-bundler resets LANG due to obscure bugs. Set it back.
|
|
LANG=`defaults read .GlobalPreferences AppleLocale`
|
|
|
|
case "$LANG" in
|
|
*.UTF-8)
|
|
;;
|
|
*)
|
|
if test -d /usr/share/locale/${LANG}.UTF-8 ; then
|
|
LANG=${LANG}.UTF-8
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
export LANG
|
|
|
|
echo "LANG is $LANG"
|