1From: Andrew Ruder <andrew.ruder@elecsyscorp.com> 2Subject: [PATCH] Allow tcl build directory for linking 3 4Some small changes to use TCL_BUILD_LIB_SPEC instead of TCL_LIB_SPEC for 5linking against tcl directly out of its build directory. 6 7Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> 8--- 9 10Index: expect-5.45/Makefile.in 11=================================================================== 12--- expect-5.45.orig/Makefile.in 2013-11-14 07:59:58.732100595 -0600 13+++ expect-5.45/Makefile.in 2013-11-14 07:59:58.732100595 -0600 14@@ -393,7 +393,7 @@ 15 @LDFLAGS_DEFAULT@ \ 16 -o expect exp_main_exp.o \ 17 @EXP_BUILD_LIB_SPEC@ \ 18- @TCL_LIB_SPEC@ \ 19+ @TCL_BUILD_LIB_SPEC@ \ 20 @TCL_DL_LIBS@ @PKG_LIBS@ @MATH_LIBS@ \ 21 @TCL_CC_SEARCH_FLAGS@ \ 22 @EXP_CC_SEARCH_FLAGS@ 23Index: expect-5.45/tclconfig/tcl.m4 24=================================================================== 25--- expect-5.45.orig/tclconfig/tcl.m4 2010-11-09 13:42:10.000000000 -0600 26+++ expect-5.45/tclconfig/tcl.m4 2013-11-14 08:02:08.424100580 -0600 27@@ -412,6 +412,7 @@ 28 AC_SUBST(TCL_LIB_FILE) 29 AC_SUBST(TCL_LIB_FLAG) 30 AC_SUBST(TCL_LIB_SPEC) 31+ AC_SUBST(TCL_BUILD_LIB_SPEC) 32 33 AC_SUBST(TCL_STUB_LIB_FILE) 34 AC_SUBST(TCL_STUB_LIB_FLAG) 35