#1149357 pybind11-dev: Incorrect prefix in pkg-config file

#1149357#5
Date:
2026-09-29 15:01:43 UTC
From:
To:
Hi,

The pkg-config file for pybind11, /usr/share/pkgconfig/pybind11.pc,
ships incorrect prefix, leading to -I/include being added to CFLAGS
by its reverse dependencies. The bug is present at least since 2.13.6-2,
but also in 3.1.0-2.

    prefix=
    includedir=${prefix}/include

    Name: pybind11
    Description: Seamless operability between C++11 and Python
    Version: 2.13.6
    Cflags: -I${includedir}