commit | 78c4ea0d2c806b9962ab0ca05e280f389d80069d | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@google.com> | Wed Apr 05 13:35:35 2017 -0700 |
committer | James Robinson <jamesr@google.com> | Wed Apr 05 13:35:35 2017 -0700 |
tree | 7c60d852d84087dafee80b613a6e761eec239c7e | |
parent | 53193708568975b869509d1cb70d7f7e75c8a6ef [diff] |
Build curl as shared library Change-Id: I7b2c8b4491c8d84ef1db8cfeda18bd12061ba91a
diff --git a/BUILD.gn b/BUILD.gn index 3767f07..f31e6f2 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -54,7 +54,7 @@ ] } -static_library("libcurl") { +shared_library("libcurl") { sources = [ "lib/amigaos.c", "lib/amigaos.h", @@ -304,6 +304,7 @@ ] defines = [ "BUILDING_LIBCURL", + "CURL_HIDDEN_SYMBOLS", "HAVE_CONFIG_H", ] include_dirs = [ "lib" ]