diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 16:41:13 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-08 16:41:13 +0800 |
| commit | 5468ab4083f711b7dc37440826aa3eeda45719e3 (patch) | |
| tree | e1edad40021889b95bd5b61f385e4d23c6d0c555 /Makefile.am | |
| parent | 37b3483ea690318b9dfcbc840bfc8dd0d959b642 (diff) | |
Generalise autotools files
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1c46e4e..66867b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,14 @@ libicclient_la_SOURCES = \ member.c \ admin.c \ client.c +libicclient_la_CFLAGS = -I${prefix}/include +libicclient_la_LDFLAGS = $(CURL_LIBS) +if WASM +libicclient_la_LDFLAGS += -static +endif +if IOS +libicclient_la_LDFLAGS += -static +endif pkginclude_HEADERS = \ icclient/product.h \ icclient/catalog.h \ @@ -17,4 +25,3 @@ pkginclude_HEADERS = \ icclient/member.h \ icclient/admin.h \ icclient/client.h -libicclient_la_LDFLAGS = -lcurl |