Re: including library in .app
Re: including library in .app
- Subject: Re: including library in .app
- From: Suzanne Archibald <email@hidden>
- Date: Sat, 1 Feb 2003 17:18:52 -0500
I've been going thru the same issue, and found a solution...
you need to use install_name_tool twice, once on libxml, and once on
your executable
the shell script i have for this is:
#!/bin/sh
install_name_tool -change ./libxml.framework/Versions/2.4.26/libxml
@executable_path/../Frameworks/libxml.framework/Versions/2.4.26/libxml
build/SJabber.app/Contents/MacOS/SJabber
install_name_tool -id
@executable_path/../Frameworks/libxml.framework/Versions/2.4.26/libxml
build/SJabber.app/Contents/Frameworks/libxml.framework/libxml
The first step replaces the reference to
./libxml.framework/Versions/2.4.26/libxml with an executable based
relative path
The second step makes sure that the libxml name matches this expected
name.
Presto, with this it works :) Make sure that if you do this as a shell
script build step, that its the last item in the list, of course.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.