Skip to content

Commit

Permalink
fix: macOS libcurl dylib name
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Nov 14, 2023
1 parent c51693b commit 2eaefa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/http/curl.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ int libhttpinterface_main(struct euicc_http_interface *ifstruct)
if (!(libcurl_path = getenv("LIBCURL")))
{
#if defined(__MINGW32__)
libcurl_path = "./libcurl.dll";
libcurl_path = "./libcurl.dll";
#elif defined(__APPLE__)
libcurl_path = "./libcurl.dylib";
libcurl_path = "libcurl.4.dylib";
#else
libcurl_path = "libcurl.so.4";
libcurl_path = "libcurl.so.4";
#endif
}

Expand Down

0 comments on commit 2eaefa6

Please sign in to comment.