summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoumen Petrov <bugtrack@roumenpetrov.info>2012-02-02 08:37:31 +0100
committerPeter Rosin <peda@lysator.liu.se>2012-02-02 08:39:20 +0100
commitb804ffabee2ce373d9bac6ae2b235ec68e0b55e8 (patch)
tree4b2974fb95be135d6f72adaa2b23f9cba53ea9b0
parent7b945cfdaaad8a87a19fcf837dd4bc04f399b1ab (diff)
downloadlibtool-b804ffabee2ce373d9bac6ae2b235ec68e0b55e8.tar.gz
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 <peda@lysator.liu.se>
-rw-r--r--build-aux/ltmain.m4sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index 00d063c1..ca298017 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.