Change in osmo-msc[master]: tests/.../Makefile.am avoid redundant linkage with librt

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Mon May 13 10:00:31 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/14012


Change subject: tests/.../Makefile.am avoid redundant linkage with librt
......................................................................

tests/.../Makefile.am avoid redundant linkage with librt

The librt is required for old glibc < 2.17 to get clock_gettime().
Since we do check the availability of this function libosmocore
and conditionally link it against librt, there is no need to do
such unconditional and redundant linkage here.

Change-Id: If587d16d2db677b97e3a0641027eb735af9c9c30
---
M tests/msc_vlr/Makefile.am
M tests/sms_queue/Makefile.am
2 files changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/12/14012/1

diff --git a/tests/msc_vlr/Makefile.am b/tests/msc_vlr/Makefile.am
index 29c5fb1..f9a9224 100644
--- a/tests/msc_vlr/Makefile.am
+++ b/tests/msc_vlr/Makefile.am
@@ -42,7 +42,6 @@
 	$(LIBOSMOGSUPCLIENT_LIBS) \
 	$(LIBRARY_GSM) \
 	-ldbi \
-	-lrt \
 	$(NULL)
 
 noinst_HEADERS = \
diff --git a/tests/sms_queue/Makefile.am b/tests/sms_queue/Makefile.am
index 81e017b..80189c7 100644
--- a/tests/sms_queue/Makefile.am
+++ b/tests/sms_queue/Makefile.am
@@ -45,7 +45,6 @@
 	$(LIBOSMOGSUPCLIENT_LIBS) \
 	$(LIBRARY_GSM) \
 	-ldbi \
-	-lrt \
 	$(NULL)
 
 sms_queue_test_LDFLAGS = \

-- 
To view, visit https://gerrit.osmocom.org/14012
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If587d16d2db677b97e3a0641027eb735af9c9c30
Gerrit-Change-Number: 14012
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190513/249f2ef1/attachment.htm>


More information about the gerrit-log mailing list