1 From: Andrew Ruder <andrew.ruder@elecsyscorp.com>
2 Subject: [PATCH] Allow tcl build directory for linking
4 Some small changes to use TCL_BUILD_LIB_SPEC instead of TCL_LIB_SPEC for
5 linking against tcl directly out of its build directory.
7 Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
10 Index: 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
16 -o expect exp_main_exp.o \
17 @EXP_BUILD_LIB_SPEC@ \
19 + @TCL_BUILD_LIB_SPEC@ \
20 @TCL_DL_LIBS@ @PKG_LIBS@ @MATH_LIBS@ \
21 @TCL_CC_SEARCH_FLAGS@ \
23 Index: 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
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)
33 AC_SUBST(TCL_STUB_LIB_FILE)
34 AC_SUBST(TCL_STUB_LIB_FLAG)