how can I get the value of export_dynamic_flag_spec substituted by configure?
I have this in my configure.in:

AC_LIBTOOL_DLOPEN_SELF dnl do I even need this?!
AC_PROG_LIBTOOL
EXPORT_DYNAMIC_FLAG_SPEC=$export_dynamic_flag_spec
AC_SUBST(EXPORT_DYNAMIC_FLAG_SPEC)dnl

and this in my foo.sh.in file:

EXPORT_DYNAMIC_FLAG_SPEC='@EXPORT_DYNAMIC_FLAG_SPEC@'

alas, instead of

EXPORT_DYNAMIC_FLAG_SPEC='-Wl,--export-dynamic'

foo.sh contains this:

EXPORT_DYNAMIC_FLAG_SPEC='${wl}--export-dynamic'

which is obviously wrong.

So, how do I get the full correct value of export_dynamic_flag_spec?

thanks.
Sam.


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to