Hi, ALL,
WHat is the way to use "~" with the "install_name_tool -change" command?
Problem:
I'm using self-build library in my development. I build this library in my home directory and then successfully link it to my application. Then I make a script that copies all dylib that my application uses inside the Bundle and using "install_name_tool -change" command to relink them from new location.
The current commands look like this:
[code] cp -f /home/igorkorot/wxWidgets/buildC11/libwx-* "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libwx-*"
install_name_tool -change "/Users/igorkorot/wxWidgets/buildC11/lib/libwx_" @executable_path/../Frameworks/libwx_"$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libwx_*" [/code]
I'd like to remove the references to "/Users/igorkorot" and instead use "~" to reference a "home directory"
How can I do that?
Thank you.