From 98c1ea2e02541ad094c23452ac95722ff38e91a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= 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.2.3