0002-Fix-jimtcl-auto-configuration-to-force-static-librar.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 3bef159779c8fd39a070ec5c8191e18ba2efa79d Mon Sep 17 00:00:00 2001
  2. From: Claudio Laurita <claudio.laurita@integrazionetotale.it>
  3. Date: Sun, 30 Nov 2014 18:21:58 +0100
  4. Subject: [PATCH 2/2] Fix jimtcl auto configuration to force static library
  5. only. jimtcl ignores a --disable-shared option if a previous --enable-shared
  6. option was given. This breaks openocd compilation if shared was the preferred
  7. option in buildroot project.
  8. Signed-off-by: Claudio Laurita <claudio.laurita@integrazionetotale.it>
  9. ---
  10. jimtcl/auto.def | 8 ++------
  11. 1 file changed, 2 insertions(+), 6 deletions(-)
  12. diff --git a/jimtcl/auto.def b/jimtcl/auto.def
  13. index ddb0c1e..929ade0 100644
  14. --- a/jimtcl/auto.def
  15. +++ b/jimtcl/auto.def
  16. @@ -181,12 +181,8 @@ if {[opt-bool references]} {
  17. msg-result "Enabling references"
  18. define JIM_REFERENCES
  19. }
  20. -if {[opt-bool shared with-jim-shared]} {
  21. - msg-result "Building shared library"
  22. -} else {
  23. - msg-result "Building static library"
  24. - define JIM_STATICLIB
  25. -}
  26. +msg-result "Building static library"
  27. +define JIM_STATICLIB
  28. define JIM_INSTALL [opt-bool install-jim]
  29. # Attributes of the extensions
  30. --
  31. 2.1.3