Building wxMac Library as monolithic shared library Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
lollisoft
Earned some good credits
Earned some good credits
Posts: 115
Joined: Sat Jul 23, 2005 3:52 pm
Location: Germany
Contact:

Building wxMac Library as monolithic shared library

Post by lollisoft »

Hi,

I have got managed it to put my shared libraries and plugins into my application bundle. This has been made possible with a linker parameter as of the following: -install_name @executable_path/../Frameworks/$@

I have seen that the install name is set to the prefix instead of the local bundle as the sample above. How could I change this to get used the install name I like to have (-install_name @executable_path/../Frameworks/$@)?

I am using wxMac 2.8.8 and have to use shared library version as I use plugins that also uses the wxMac library.

Thanks

Lothar
OS: Windows 7, Mac OS X (Panther/Leopard/Snow Leopard), SuSE Linux, Debian (PPC), OpenMoko FreeRunner
Compiler: OpenWatcom, GCC
wxWidgets 2.8.x
IDE Makefile based.
RAD My own brewed, Code generation with XSLT and DialogBlocks
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

Hi,

take a look at terminal utility install_name_tool. It will let you change this name as needed.

Also, if you have many dynamic-libs dependencies and want to quickly and painlessly include them in your bundle, take a look at http://macdylibbundler.sf.net , a small utility i'm developing to automatize packaging of dylibs
"Keyboard not detected. Press F1 to continue"
-- Windows
Post Reply