diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-10-10 16:15:45 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-10-10 16:15:45 +0800 |
commit | 8abab3cd2d5c9e4be6aac3e2e31af7f5cf282ca1 (patch) | |
tree | 9b56734a5c9667645d17514b9b2f7519c41765ed | |
parent | 5064f774f75976b397a2321158657249ea1a4961 (diff) |
Fix crash on Android when calling libcurl functions
Linking on the library level must still be done even though it compiles
without it, to ensure that it doesn't crash on platforms like Android.
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 19549fd..73a26bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,9 +10,10 @@ if WASM libinterchange_la_LDFLAGS = -static else libinterchange_la_CPPFLAGS = $(CURL_CFLAGS) +libinterchange_la_LDFLAGS = $(CURL_LIBS) endif if IOS -libinterchange_la_LDFLAGS = -static +libinterchange_la_LDFLAGS += -static endif if STRAP libinterchange_la_SOURCES += strap.c |