neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/31760 )
Change subject: libosmo-pfcp.pc: move libosmogsm to Requires ......................................................................
libosmo-pfcp.pc: move libosmogsm to Requires
It appears Requires.private is not working as intended. Moving to Requires seems to fix the problem I am seeing on my machine:
CCLD unique_ids_test /usr/bin/ld: /usr/local/lib/libosmo-pfcp.so: undefined reference to `osmo_apn_to_str' /usr/bin/ld: /usr/local/lib/libosmo-pfcp.so: undefined reference to `osmo_apn_from_str'
Change-Id: I319173c1fab068dfe1361ae6cd02f729461d4cf8 --- M libosmo-pfcp.pc.in 1 file changed, 17 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/60/31760/1
diff --git a/libosmo-pfcp.pc.in b/libosmo-pfcp.pc.in index 58a6164..cafbdd3 100644 --- a/libosmo-pfcp.pc.in +++ b/libosmo-pfcp.pc.in @@ -6,7 +6,6 @@ Name: Osmocom PFCP library Description: C Utility Library that implements the PFCP protocol and endpoint Version: @VERSION@ -Requires: libosmo-gtlv, libosmocore, talloc -Requires.private: libosmogsm +Requires: libosmo-gtlv, libosmogsm, libosmocore, talloc Libs: -L${libdir} -losmo-pfcp Cflags: -I${includedir}/