From 98c1ea2e02541ad094c23452ac95722ff38e91a1 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Tue, 7 Apr 2020 22:04:16 +0800 Subject: Fix dlopen failure E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "curl_easy_setopt" referenced by librtclient.so --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.3