message: cxx: Always pass '--export-all-symbols' when linkind dlls.
diff: @@ -935,9 +935,9 @@ class GccToolkit(Toolkit):
  else:
  pre.append(e)
  cmd = pre
  + cmd += ['-Wl,--whole-archive'] + ar + ['-Wl,--no-whole-archive'] + post
  if self.os is drake.os.windows:
  cmd.append('-Wl,--export-all-symbols')
  - cmd += ['-Wl,--whole-archive'] + ar + ['-Wl,--no-whole-archive'] + post
  return cmd
  def libname_static(self, cfg, path):
  