Skip to content

Static linking #73

@ayles

Description

@ayles

Hi

I am trying to embed Phonetisaurus in my binary and just encountered an issue:

Static linking with OpenFST fails with duplicate symbol FLAGS_help.
Fix is simple https://github.com/ayles/Phonetisaurus/commit/4aba2c65666bdae76af362023d379c32dccfa518
But I am afraid it could not work with shared OpenFST and I currently have no time to test this.

Is there any plans to add static linkage support and [possibly] CMakeLists.txt?
(In my case there is a Kaldi with its own forked OpenFST and it was just pain to provide Phonetisaurus with OpenFST includes and libraries, so I just wrote simple CMakeLists.txt wrapper)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions