laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/29021 )
Change subject: pkgconf: require libosmocore ......................................................................
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 msuraev@sysmocom.de Change-Id: Iacf4ccdb1c2a0e64ac997bda11161b8fe2548725 --- M libosmoabis.pc.in M libosmotrau.pc.in 2 files changed, 2 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved
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 @@ 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 @@ Version: @VERSION@ Libs: -L${libdir} -losmotrau Cflags: -I${includedir}/ +Requires: libosmocore