1. 14 Dec, 2018 1 commit
    • Jeremie Courreges-Anglas's avatar
      Problem: libtool -export-symbols-regexp seems to leak weak symbols · 687c7585
      Jeremie Courreges-Anglas authored
      Solution: go back to using -Wl,--version-script.
      
      Use ax_check_vscript.m4 from the autoconf-archive to detect support on
      multiple platforms (eg Solaris ld(1) -M).
      
      libtool -export-symbols-regexp used ld(1) --retain-symbols-file under
      the hood, the latter lets some C++ weak symbols make their way into the
      dynamic symbols table, along with the zmq_* interface.  The reason for
      such behavior is unknown to me.
      687c7585
  2. 07 Dec, 2018 1 commit
    • Jérémie Courrèges-Anglas's avatar
      Problem: --version-script not used on OpenBSD · 70b48a9c
      Jérémie Courrèges-Anglas authored
      Solution: switch to libtool symbol visibility support, which leads to
      more portable constructs in the autotools glue.  As noted in the libtool
      documentation "This option has no effect on some platforms."
      
      After this commit, global symbols intended to be kept private will
      disappear on platforms that were previously not handled
      using -Wl,--version-script.
      70b48a9c
  3. 12 Jan, 2014 1 commit