From 2add4864e83d93f4d87f995b14b0a19a1f79bd00 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Tue, 23 Oct 2018 18:41:39 +0200 Subject: [PATCH] also create trbnetd variant of libtrbnet.so --- trbnetd/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trbnetd/Makefile b/trbnetd/Makefile index 125cacf..16b606f 100644 --- a/trbnetd/Makefile +++ b/trbnetd/Makefile @@ -30,7 +30,7 @@ LOADLIBES = -lm TARGETS = trbcmd trbrichcmd trbflash trb_i2c trbdhcp pulser -LIB_TARGETS = libtrbnet.a +LIB_TARGETS = libtrbnet.a libtrbnet.so # ------------ Libaries ------------------------------------------------ @@ -67,7 +67,7 @@ ARFLAGS = -srv %.so: $% @echo CREATING shared library $@ - $(LD) -shared -O $^ -o $@ + $(LD) -shared $(LOADLIBES) -O $^ -o $@ @echo DONE! # RPCGEN @@ -145,6 +145,8 @@ trberror.o: trberror.c libtrbnet.a: trbnetrpc.o trbrpc_clnt.o trbrpc_xdr.o trberror.o +libtrbnet.so: trbnetrpc.o trbrpc_clnt.o trbrpc_xdr.o trberror.o + # ---------------------------------------------------------------------- trbcmd.c: -- 2.43.0