How can I achieve this when building from the command line using ./configure and the generated Makefiles? This article http://qin.laya.com/tech_coding_help/dylib_linking.html explains a post-build fix using install_name_tool (and also mentions how to build with an id that's relative to the executable using -install_name). What do I need to change in the generated Makefile to feed -install_name as an option for building? Or maybe this can be done with an option in ./configure?wxWidgets dynamic libraries as built from the Xcode project will be automatically bundle-able (their path should be set to @executable_path/Contents/Frameworks/libname.dylib).
Build as a Bundle-able Library From Command-Line
Build as a Bundle-able Library From Command-Line
The wiki mentions that