From 91bfd5b103ec23c566cacd9711a4ff7bbb88f02f Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 14 Oct 2018 08:31:39 +0200 Subject: [PATCH] examples/Makefile.am: remove $(DTLS_LIBS) variable Using the variable $(DTLS_LIBS) in the *_LDADD isn't correct, for controlling the linker flags the *.la file is normally holding all the required information. This was introduced by 5687681d71cf041ea8f8ac424ad5581ff63a587b and is partially removed by this commit. --- examples/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 3bceefcf..64d66db0 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -17,12 +17,12 @@ AM_CFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \ bin_PROGRAMS = coap-client coap-server coap-rd coap_client_SOURCES = client.c -coap_client_LDADD = $(DTLS_LIBS) $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la +coap_client_LDADD = $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la coap_server_SOURCES = coap-server.c -coap_server_LDADD = $(DTLS_LIBS) $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la +coap_server_LDADD = $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la coap_rd_SOURCES = coap-rd.c -coap_rd_LDADD = $(DTLS_LIBS) $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la +coap_rd_LDADD = $(top_builddir)/.libs/libcoap-$(LIBCOAP_NAME_SUFFIX).la endif # BUILD_EXAMPLES