From b804ffabee2ce373d9bac6ae2b235ec68e0b55e8 Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Thu, 2 Feb 2012 08:37:31 +0100 Subject: [PATCH] fixup: restore EXPORTS test Commit v2.4.2-120-g962aa91 syntax-check: fix violations and implement sc_prohibit_test_const_follows_var inadvertedly reversed the meaning of the comparison. * build-aux/ltmain.m4sh (func_mode_link) [cygwin|mingw|cegcc]: Restore the EXPORTS test. We need to look at the symbols when it's _not_ already a .def file (in which case we trust the user input blindly). Copyright-paperwork-exempt: Yes Signed-off-by: Peter Rosin --- build-aux/ltmain.m4sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 00d063c18..ca2980177 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -7376,7 +7376,7 @@ EOF cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile - if test EXPORTS = "`$SED 1q $export_symbols`"; then + if test EXPORTS != "`$SED 1q $export_symbols`"; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. -- 2.47.2