• 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
ax_check_vscript.m4 4.61 KB