<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-remsim/+/17371">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Avoid useless dependency on libcsv<br><br>We don't want to link everything against libvsv.  Only bankd needs it.<br><br>Change-Id: I288c27611b042fef76101e247b41c7a2f6c7483b<br>dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libosmo-rspro1/usr/lib/x86_64-linux-gnu/libosmo-rspro.so.1.0.0 was not linked against libcsv.so.3 (it uses none of the library's symbols)<br>dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-remsim-server/usr/bin/osmo-remsim-server was not linked against libcsv.so.3 (it uses none of the library's symbols)<br>dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-remsim-client/usr/bin/osmo-remsim-client-shell debian/osmo-remsim-client/usr/bin/osmo-remsim-client-st2 were not linked against libcsv.so.3 (they use none of the library's symbols)<br>dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libifd-osmo-remsim-client0/usr/lib/pcsc/drivers/libifd-osmo-remsim-client.bundle/Contents/Linux/libifd_remsim_client.so.0.0.0 was not linked against libcsv.so.3 (it uses none of the library's symbols)<br>---<br>M configure.ac<br>M src/bankd/Makefile.am<br>2 files changed, 3 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/71/17371/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index 0ccb0ba..586d7ef 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -32,8 +32,9 @@</span><br><span> fi</span><br><span> PKG_PROG_PKG_CONFIG([0.20])</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-AC_CHECK_LIB(csv, csv_init, LIBS="$LIBS -lcsv", [AC_MSG_ERROR([*** libcsv library not found!])])</span><br><span style="color: hsl(120, 100%, 40%);">+AC_CHECK_LIB(csv, csv_init, CSV_LIBS="-lcsv", [AC_MSG_ERROR([*** libcsv library not found!])])</span><br><span> AC_CHECK_HEADERS([csv.h])</span><br><span style="color: hsl(120, 100%, 40%);">+AC_SUBST(CSV_LIBS)</span><br><span> </span><br><span> PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 1.3.0)</span><br><span> PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.11.0)</span><br><span>diff --git a/src/bankd/Makefile.am b/src/bankd/Makefile.am</span><br><span>index 62ed581..f2afa19 100644</span><br><span>--- a/src/bankd/Makefile.am</span><br><span>+++ b/src/bankd/Makefile.am</span><br><span>@@ -15,7 +15,7 @@</span><br><span> osmo_remsim_bankd_SOURCES = ../slotmap.c ../rspro_client_fsm.c ../debug.c \</span><br><span>                      bankd_main.c bankd_pcsc.c</span><br><span> osmo_remsim_bankd_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) $(OSMOSIM_LIBS) \</span><br><span style="color: hsl(0, 100%, 40%);">-                      $(PCSC_LIBS) $(top_builddir)/src/libosmo-rspro.la -lcsv</span><br><span style="color: hsl(120, 100%, 40%);">+                       $(PCSC_LIBS) $(CSV_LIBS) $(top_builddir)/src/libosmo-rspro.la</span><br><span> </span><br><span> # as suggested in http://lists.gnu.org/archive/html/automake/2009-03/msg00011.html</span><br><span> FORCE:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-remsim/+/17371">change 17371</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-remsim/+/17371"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-remsim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I288c27611b042fef76101e247b41c7a2f6c7483b </div>
<div style="display:none"> Gerrit-Change-Number: 17371 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>