Bundles and dylib lookup
Bundles and dylib lookup
- Subject: Bundles and dylib lookup
- From: Grant Limberg <email@hidden>
- Date: Fri, 5 Mar 2010 11:35:10 -0800
My .app packages looks like this:
MyApp.app/
Contents/
MacOS/
MyApp
libA.dylib
libB.dylib
libC.dylib
PlugIns/
PlugIn1.bundle/
...bundle contents
PlugIn2.bundle/
...bundle contents
Both PlugIn1.bundle and PlugIn2.bundle are linked against libA.dylib, libB.dylib, and libC.dylib. The three dylibs have install names of @loader_path/libName.dylib. The bundles, however, cannot find libA.dylib, libB.dylib, or libC.dylib. I've tried setting the -bundle_loader flag to link against the main executable, but that didn't help. Is it possible for the bundles to look up the dylibs from the MacOS folder of the .app package and not have to copy them into the bundle as well?
Grant Limberg

email@hidden
http://www.cedrus.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden