0002-allow-tcl-build-directory.patch 1.2 KB

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