summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-04-07 22:04:16 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-04-07 22:04:16 +0800
commit98c1ea2e02541ad094c23452ac95722ff38e91a1 (patch)
tree571c0124e2aff0575b5cfffb00866db975f3707e
parent4e74f8c8d376efdcdfd967a447021cc9681fed4c (diff)
Fix dlopen failure
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "curl_easy_setopt" referenced by librtclient.so
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 27cff9b..0d81d14 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,6 +16,8 @@ pkginclude_HEADERS = \
rtclient/search.h \
rtclient/client.h
+librtclient_la_LDFLAGS = -lcurl
+
#bin_PROGRAMS = rtclienttest
#rtclienttest_SOURCES = main.c
#rtclienttest_LDADD = librtclient.la