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