coot-0.8.2-libtool.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. configure.ac | 2 +-
  2. lbg/Makefile.am | 11 -----------
  3. 2 files changed, 1 insertion(+), 12 deletions(-)
  4. diff --git a/configure.ac b/configure.ac
  5. index 73d6ed7..b04dcd6 100644
  6. --- a/configure.ac
  7. +++ b/configure.ac
  8. @@ -69,7 +69,7 @@ AC_LIB_PREPARE_MULTILIB
  9. AC_SUBST(COOT_STDTYPES)
  10. -EXPORT_DYNAMIC_FLAG_SPEC=$export_dynamic_flag_spec
  11. +eval EXPORT_DYNAMIC_FLAG_SPEC=\"$export_dynamic_flag_spec\"
  12. AC_SUBST(EXPORT_DYNAMIC_FLAG_SPEC)
  13. diff --git a/lbg/Makefile.am b/lbg/Makefile.am
  14. index 1277afe..a79ebe0 100644
  15. --- a/lbg/Makefile.am
  16. +++ b/lbg/Makefile.am
  17. @@ -43,17 +43,6 @@ pkginclude_HEADERS = lbg.hh wmolecule.hh flev-annotations.hh graphics-c-interfa
  18. lbg-drag-and-drop.hh qed-interface.hh alerts.hh pi-stacking.hh
  19. pkgincludedir = $(includedir)/coot/lbg
  20. -# 20140521
  21. -# lidia_LDFLAGS = -Wl,--export-dynamic
  22. -#
  23. -# Now we use EXPORT_DYNAMIC_FLAG_SPEC which usually evaluates to ${wl}--export-dynamic
  24. -# (but not for MacOSX, where it Does The Right Thing (hopefully)).
  25. -# We manually set the value of wl here, but maybe the Right Thing To Do for that is
  26. -# run (eval) $($LIBTOOL --config | grep ^wl). How do I do that here though?
  27. -# I don't understand. Maybe the setting of wl should be done in configure? But then
  28. -# I have to force the output of libtool. Bleugh. Hmm...
  29. -# Anyway, thankyou Gary Vaughan.
  30. -wl=-Wl,
  31. lidia_LDFLAGS = $(EXPORT_DYNAMIC_FLAG_SPEC)
  32. # res spec output operator means we include libcoot-coord-utils