From 3f96d8c84f7362b1800fcc8fdf3d0395ec265ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 10 Jun 2021 17:13:45 +0800 Subject: Anticipate asynchronous data fetch --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 680bc0e..5ba54b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ libicclient_la_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS) if WASM libicclient_la_LDFLAGS = -static else -libicclient_la_LDFLAGS = $(DEPS_LIBS) +libicclient_la_LDFLAGS = $(DEPS_LIBS) -lcurl endif if IOS libicclient_la_LDFLAGS += -static @@ -34,7 +34,9 @@ pkginclude_HEADERS += \ icclient/admin.h endif +if !WASM bin_PROGRAMS = testicclient testicclient_SOURCES = main.c client.c catalog.c product.c request.c testicclient_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS) -testicclient_LDFLAGS = $(DEPS_LIBS) +testicclient_LDFLAGS = $(DEPS_LIBS) -lcurl +endif -- cgit v1.2.3