Skip to content

Handle bindings for dynamically linked libraries #11

@SMFloris

Description

@SMFloris

Working on a little something with raylib and c3 and the current bindings are great.

Bundling static libs and bindings together is pretty good in the matter of stable bindings, but not so great with dynamic libraries.
I think that, in order to improve both dynamic libraries and static libs we should probably consider improving the manifest file to be more descriptive. Thinking about it, here are my ideas:

  • add a version string to the bundled libs: currently no idea what version the bundled static lib is
  • a flag to whether to use or not to use the bundled static lib: if the flag is not set, then just search LD_LIBRARY_PATH. Maybe even the cli that pulls the bindings could use this flag in order to know whether or not to bother pulling in the static libs.

The suggestions above would improve packaging of the bindings in distros since it would be clear what the dependencies are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions