pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27597 )
Change subject: libosmocore.pc.in: put libsctp in Requires.private
......................................................................
libosmocore.pc.in: put libsctp in Requires.private
The libsctp use in libosmocore is internal, not exposed to applications.
Hence, it must not be in "Requires" but in "Requires.private".
Fixes: 12eed19066a11aece6f346b54b85326bc6ba7f0b
Change-Id: Ic3e4e191990e6b76ec52b81e506b49980e20ce20
---
M libosmocore.pc.in
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/libosmocore.pc.in b/libosmocore.pc.in
index 3bb9b9a..6296417 100644
--- a/libosmocore.pc.in
+++ b/libosmocore.pc.in
@@ -6,7 +6,8 @@
Name: Osmocom Core Library
Description: C Utility Library
Version: @VERSION@
-Requires: talloc, libsctp
+Requires: talloc
+Requires.private: libsctp
Libs: -L${libdir} -losmocore
Libs.private: @PTHREAD_LIBS@
Cflags: -I${includedir}/ @PTHREAD_CFLAGS@
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27597
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic3e4e191990e6b76ec52b81e506b49980e20ce20
Gerrit-Change-Number: 27597
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27598 )
Change subject: configure: Support libsctp < 1.0.17 without libsctp.pc
......................................................................
Patch Set 1:
(1 comment)
File libosmocore.pc.in:
https://gerrit.osmocom.org/c/libosmocore/+/27598/comment/33ab0d16_583efd56
PS1, Line 10: Requires.private: @LIBSCTP_PC@
with this approach if the .pc is found it ends up looking like this:
"""
Requires.private: libsctp
Libs: -L${libdir} -losmocore
Libs.private: -lsctp
"""
It's true that the -lsctp will end up duplicated as it will be fed too by libsctp, but given they end up all in "private" section I think it's fine enough.
I could have a new @LIBSCTP_MANUAL_LIBS@ but I don't think it's worth adding the complexity for that.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27598
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I241634388c2d32adffebd860c88bdd13002a6af0
Gerrit-Change-Number: 27598
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 29 Mar 2022 10:04:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27598 )
Change subject: configure: Support libsctp < 1.0.17 without libsctp.pc
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27598
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I241634388c2d32adffebd860c88bdd13002a6af0
Gerrit-Change-Number: 27598
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 29 Mar 2022 10:03:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/27598 )
Change subject: configure: Support libsctp < 1.0.17 without libsctp.pc
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Tested manually moving libsctp.pc in my system, works fine:
"""
checking for LIBSCTP... no
configure: libsctp.pc not found (building against <1.0.17 ?), attempting manual lookup
checking for library containing sctp_bindx... -lsctp
"""
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27598
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I241634388c2d32adffebd860c88bdd13002a6af0
Gerrit-Change-Number: 27598
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 29 Mar 2022 10:01:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/27597
to look at the new patch set (#2).
Change subject: libosmocore.pc.in: put libsctp in Requires.private
......................................................................
libosmocore.pc.in: put libsctp in Requires.private
The libsctp use in libosmocore is internal, not exposed to applications.
Hence, it must not be in "Requires" but in "Requires.private".
Fixes: 12eed19066a11aece6f346b54b85326bc6ba7f0b
Change-Id: Ic3e4e191990e6b76ec52b81e506b49980e20ce20
---
M libosmocore.pc.in
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/97/27597/2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27597
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic3e4e191990e6b76ec52b81e506b49980e20ce20
Gerrit-Change-Number: 27597
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset