Skip to content

Reconsolidate SWIG specification from multiple sub-specs

Daniel Selifonov requested to merge reconsolidate-swig into master

Previously split the SWIG specifications to match the C++ namespaces being wrapped from Mosh. This helped navigate the complexity of creating working SWIG specifications, and apparently built correctly, but when the library was used for real to create a process incorporating the Mosh logic, this split resulted in non-resolvable duplicate symbol errors in the linking process.

The "easiest" solution was to re-consolidate all of the SWIG specifications into one SWIG module, and stop splitting by namespaces.

The wrapped packages still create the namespace level split as Go packages for consumers; this only consolidates at the level of the internal packages.

Merge request reports