examples/Makefile.am
author Frank Zschockelt <lm@freakysoft.de>
Sat, 11 May 2019 22:25:49 +0200
changeset 738 264fece7ff0d
parent 630 59a326ef98c2
permissions -rw-r--r--
Fix getaddrinfo() handling in blocking resolver If getaddrinfo() fails, the first call setting the result will already free the resolver. Trying to access it afterwards will lead to a warning to the console from glib. getaddrinfo() shouldn't return NULL for the result list if it returns successful.

include $(top_srcdir)/build/Makefile.am.lm

AM_CPPFLAGS =                                       \
    -I$(top_srcdir)                                 \
    $(LOUDMOUTH_CFLAGS)

noinst_PROGRAMS =                                   \
    test-lm                                         \
    test-http-proxy                                 \
    test-tunnel                                     \
    lm-send-async                                   \
    lm-change-password                              \
    lm-register

test_lm_SOURCES = test-lm.c

test_http_proxy_SOURCES = test-http-proxy.c

test_tunnel_SOURCES = test-tunnel.c

lm_send_async_SOURCES = lm-send-async.c

lm_change_password_SOURCES = lm-change-password.c

lm_register_SOURCES = lm-register.c

LDADD =                                             \
    $(LOUDMOUTH_LIBS)                               \
    $(top_builddir)/loudmouth/libloudmouth-1.la