On Mon, Mar 24, 2008 at 10:17 AM, Randy McMurchy <[EMAIL PROTECTED]> wrote: > Alexander E. Patrakov wrote these words on 03/24/08 12:10 CST: > > > Randy McMurchy wrote: > >> -Wl,-rpath,/usr/lib > > > > This means: "at runtime, search for libraries in /usr/lib and standard > > directories", which is redundant, because /usr/lib is a standard directory. > > Please set TCL_CC_SEARCH_FLAGS and TCL_LD_SEARCH_FLAGS to an empty string, > if it > > makes the sed shorter. > > Which means it is safe to use: > > sed -i -e 's|@.._SEARCH_FLAGS@|-Wl,-rpath|' \ > > -e 's|@TCL_SRC_DIR@|/usr/include|' \ > tclConfig.sh.in > > Do you agree?
What comes after the "-Wl,-rpath"? If nothing, then that would be an error to the linker. Better to remove it unless there's a good reason to set RPATH. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
