Diff

Differences From Artifact [7d095794dd]:

To Artifact [7935e5debe]:


   246    246   
   247    247   	for proj in tcl tclvfs tk; do
   248    248   		AC_MSG_CHECKING([for libraries required for ${proj}])
   249    249   
   250    250   		libdir="../../../${proj}/inst"
   251    251   		libfiles="`find "${libdir}" -name '*.a' 2>/dev/null | tr "\n" ' '`"
   252    252   		libfilesnostub="`find "${libdir}" -name '*.a' 2>/dev/null | grep -v 'stub' | tr "\n" ' '`"
          253  +
          254  +		for libfile in ${libfiles}; do
          255  +			LDFLAGS="${LDFLAGS} -L`dirname "${libfile}"`"
          256  +		done
   253    257   
   254    258   		if test "$proj" = "tcl"; then
   255    259   			DC_TEST_WHOLE_ARCHIVE_SHARED_LIB([$ARCHS $libfilesnostub], [
   256    260   				libfiles="${libfilesnostub}"
   257    261   			], [
   258    262   				DC_TEST_WHOLE_ARCHIVE_SHARED_LIB([$ARCHS $libfiles], [
   259    263   					libfiles="${libfiles}"