patch-configure 700 B

1234567891011121314151617
  1. $OpenBSD: patch-configure,v 1.3 2016/01/28 18:23:27 jasper Exp $
  2. -export-dynamic is a linker option, pass it down as such.
  3. http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=9631de152b4c83cdd0aadeb179a0c4f731192174
  4. --- configure.orig Tue Jan 26 09:44:37 2016
  5. +++ configure Tue Jan 26 09:44:50 2016
  6. @@ -4724,7 +4724,7 @@ $as_echo "$make_type" >&6; }
  7. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -export-dynamic" >&5
  8. $as_echo_n "checking whether the linker accepts -export-dynamic... " >&6; }
  9. OLDLDFLAGS=$LDFLAGS
  10. -LDFLAGS="$LDFLAGS -export-dynamic"
  11. +LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
  12. if test "$cross_compiling" = yes; then :
  13. ac_export_dynamic=no
  14. else