bankd: Avoid useless dependency to libosmosim

Change-Id: I015b1a49dbdd19d030acd929b5a935021b77cefa
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/osmo-remsim-bankd/usr/bin/osmo-remsim-bankd was not linked against libosmosim.so.0 (it uses none of the library's symbols)
changes/73/17373/1
Harald Welte 3 years ago
parent f14f337d06
commit 7cd8b76577
  1. 4
      src/bankd/Makefile.am
  2. 1
      src/bankd/driver_pcsc.c
  3. 1
      src/bankd/main.c

@ -1,6 +1,6 @@
AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src \
-I$(top_srcdir)/include/osmocom/rspro \
$(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) $(OSMOABIS_CFLAGS) $(OSMOSIM_CFLAGS) \
$(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) $(OSMOABIS_CFLAGS) \
$(PCSC_CFLAGS)
noinst_HEADERS = bankd.h internal.h
@ -14,7 +14,7 @@ pcsc_test_LDADD = $(OSMOCORE_LIBS) \
osmo_remsim_bankd_SOURCES = ../slotmap.c ../rspro_client_fsm.c ../debug.c \
bankd_main.c bankd_pcsc.c
osmo_remsim_bankd_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) $(OSMOSIM_LIBS) \
osmo_remsim_bankd_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
$(PCSC_LIBS) $(CSV_LIBS) $(top_builddir)/src/libosmo-rspro.la
# as suggested in http://lists.gnu.org/archive/html/automake/2009-03/msg00011.html

@ -31,7 +31,6 @@
#include <talloc.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/sim/sim.h>
#include <wintypes.h>
#include <winscard.h>

@ -29,7 +29,6 @@
#include <talloc.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/sim/sim.h>
#include <wintypes.h>
#include <winscard.h>

Loading…
Cancel
Save