From: John L. <jr...@us...> - 2008-02-18 23:37:00
|
Update of /cvsroot/wxlua/wxLua/build/autoconf In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22476/wxLua/build/autoconf Modified Files: configure.ac Log Message: Add RPATH_FLAGS=-Wl,-header-pad_max_install_names for OSX's gcc so we can run $install_name_tool to change it's linker paths Index: configure.ac =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/autoconf/configure.ac,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** configure.ac 19 Jan 2008 21:37:09 -0000 1.67 --- configure.ac 18 Feb 2008 23:36:55 -0000 1.68 *************** *** 204,207 **** --- 204,215 ---- RPATH_FLAGS="-Wl,-rpath,../lib" fi + + # NOTE: Need longer library rpath names for Mac's linker, -header-pad_max_install_names + # "install_name_tool: changing install names can't be redone for: wxLua.app/Contents/MacOS/wxLua + # (for architecture i386) because larger updated load commands do not fit (the program must be relinked)" + if test "SHARED" = "1" -a "PLATFORM_MACOSX" = "1"; then + RPATH_FLAGS="-Wl,-header-pad_max_install_names" + fi + AC_SUBST(RPATH_FLAGS) |