They are defined pkg-config variables for a reason, let's reuse them as is the intended usage of pkg-config. This ensures various pkg-config features continue to work as expected. Signed-off-by: Eli Schwartz <eschwartz@xxxxxxxxxxxxx> --- v2: forgot the Libs change libtirpc.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtirpc.pc.in b/libtirpc.pc.in index 38034c5..d2c7878 100644 --- a/libtirpc.pc.in +++ b/libtirpc.pc.in @@ -7,6 +7,6 @@ Name: libtirpc Description: Transport Independent RPC Library Requires: Version: @PACKAGE_VERSION@ -Libs: -L@libdir@ -ltirpc +Libs: -L${libdir} -ltirpc Libs.private: -lpthread -Cflags: -I@includedir@/tirpc +Cflags: -I${includedir}/tirpc -- 2.26.1