X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fld-version-script.m4;h=63386f173990178b6b5322258b35f017e29cf34a;hb=da8054d48dc22e1c051db54049e005d51a006e69;hp=e3213476c7aae0e96612240ee824a3b06059eadd;hpb=5d412172ab1a1775153957a47dc397ce26caf90c;p=gnulib.git diff --git a/m4/ld-version-script.m4 b/m4/ld-version-script.m4 index e3213476c..63386f173 100644 --- a/m4/ld-version-script.m4 +++ b/m4/ld-version-script.m4 @@ -1,11 +1,16 @@ -# ld-version-script.m4 serial 1 -dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. +# ld-version-script.m4 serial 3 +dnl Copyright (C) 2008-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Simon Josefsson +# FIXME: The test below returns a false positive for mingw +# cross-compiles, 'local:' statements does not reduce number of +# exported symbols in a DLL. Use --disable-ld-version-script to work +# around the problem. + # gl_LD_VERSION_SCRIPT # -------------------- # Check if LD supports linker scripts, and define automake conditional @@ -21,16 +26,25 @@ AC_DEFUN([gl_LD_VERSION_SCRIPT], save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" cat > conftest.map < conftest.map <