Skip to content

[Bug] pkgconfig is generated with wrong lib name #962

@adv4ncr

Description

@adv4ncr

Describe the bug

When building the package in Linux, the pkgconfig yields a liblibzenohc library name:

Libs: -L${prefix}/@CMAKE_INSTALL_LIBDIR@ -l@LIBNAME@

This is the erroneous line after building: Libs: -L${prefix}/lib -llibzenohc
This is how it should look like: Libs: -L${prefix}/lib -lzenohc

To reproduce

Standard Linux build

System info

  • Platform: [Arch / Ubuntu 22.04.5 LTS]
  • Zenoh commit: [8aba3d1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions