osx: Fix loading plugins from bundle

This commit is contained in:
TingPing 2014-01-27 18:39:45 -05:00
parent eb1d3a063a
commit c9818adfb1
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<main-binary> <main-binary>
${prefix}/bin/hexchat ${prefix}/bin/hexchat
</main-binary> </main-binary>
<!--
<binary> <binary>
${prefix}/lib/hexchat/plugins/*.so ${prefix}/lib/hexchat/plugins/*.so
</binary> </binary>
@ -29,7 +29,6 @@
<data> <data>
${prefix}/lib/python2.7/ ${prefix}/lib/python2.7/
</data> </data>
-->
<binary> <binary>
${prefix}/lib/${gtkdir}/modules/*.so ${prefix}/lib/${gtkdir}/modules/*.so

View File

@ -39,6 +39,8 @@ export PANGO_SYSCONFDIR="$bundle_etc"
#export PYTHONHOME="$bundle_res" #export PYTHONHOME="$bundle_res"
#export PYTHONPATH="$bundle_lib/python2.7:$bundle_lib/python2.7/site-packages" #export PYTHONPATH="$bundle_lib/python2.7:$bundle_lib/python2.7/site-packages"
export HEXCHAT_LIBDIR="$bundle_lib/hexchat/plugins"
APP=name APP=name
I18NDIR="$bundle_data/locale" I18NDIR="$bundle_data/locale"
# Set the locale-related variables appropriately: # Set the locale-related variables appropriately: