David Reiser <[EMAIL PROTECTED]> writes:
> I think the relocatable part requires running install_name_tool on
> every .dylib or .so in gnucash and all dependencies. Something like:
>
> install_name_tool -change /Applications/GnuCash.app/Contents/lib
> @executable_path/../lib GnuCash.app/Contents/libs/libexample.dylib
That's probably not completely sufficient, because Gnome needs
to know where to find ancillary files like schemas, icons, etc.
I'm not sure how to make THAT relocatable.. Although it must
be possible at some level because of the Win32 portable gnucash,
so perhaps it can be done.
> With enough scripting know-how, one could probably do that with a
> single loop. But that's certainly beyond my skills at the moment.
find . -name \*.dylib -o -name \*.so | xargs install_name_tool -change \
/Applications/GnuCash.app/Contents/lib @executable_path/../lib
> Dave
> --
> David Reiser
> [EMAIL PROTECTED]
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel