From 74c8eba5ada3483eb99201c1cdf63266a8bd2544 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 3 Aug 2022 19:13:14 +0200 Subject: [PATCH] pkgconf: require libosmocore osmocom/abis/e1_input.h includes osmocom/core/linuxlist.h, therefore the .pc file(s) need a dependency on libosmocore so that the Cflags from libosmocore.pc make an appearance on the compiler command line when using `pkg-config libosmoabis --cflags`. Committed-by: Max Change-Id: Iacf4ccdb1c2a0e64ac997bda11161b8fe2548725 --- libosmoabis.pc.in | 2 +- libosmotrau.pc.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libosmoabis.pc.in b/libosmoabis.pc.in index 751149d..da113fc 100644 --- a/libosmoabis.pc.in +++ b/libosmoabis.pc.in @@ -8,4 +8,4 @@ Description: C Utility Library Version: @VERSION@ Libs: -L${libdir} -losmoabis Cflags: -I${includedir}/ - +Requires: libosmocore diff --git a/libosmotrau.pc.in b/libosmotrau.pc.in index d15c5fa..50ab9d0 100644 --- a/libosmotrau.pc.in +++ b/libosmotrau.pc.in @@ -8,3 +8,4 @@ Description: C Utility Library Version: @VERSION@ Libs: -L${libdir} -losmotrau Cflags: -I${includedir}/ +Requires: libosmocore