laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved
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(-)

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

To view, visit change 29021. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Iacf4ccdb1c2a0e64ac997bda11161b8fe2548725
Gerrit-Change-Number: 29021
Gerrit-PatchSet: 1
Gerrit-Owner: msuraev <msuraev@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged