Skip to content

cargo-c: improve install path conventions #317

Closed
@tmatth

Description

@tmatth

When installing the gst-plugin-rtp plugin from https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs, I noticed that with:
cargo cinstall -p gst-plugin-rtp --prefix=/usr/local

the rust plugins (the shared libs) install to /usr/local/lib/gstreamer-1.0/libgstrsrtp.so

whereas other gstreamer packages install to e.g., /usr/local/lib/x86_64-linux-gnu/gstreamer-1.0/

For now I can workaround this by explicitly adding --libdir=${PREFIX}/lib/x86_64-linux-gnu but it'd be preferable for this to follow the meson + autotools conventions (at least as I understand them).

@sdroege's comment:

there's probably some useful heuristic to detect lib, lib32, lib64, lib/target-triple

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-MesonParityMimic meson behaviour if possibleenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions