summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-10 17:13:45 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-10 17:13:45 +0800
commit3f96d8c84f7362b1800fcc8fdf3d0395ec265ca5 (patch)
treeeaafdcbba77295106477c4c706f5e36118123b83 /Makefile.am
parent06bea8ae54dd3cd714b231b3d8a8deef77136613 (diff)
Anticipate asynchronous data fetch
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
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