aboutsummaryrefslogtreecommitdiff
path: root/ports/restclient-cpp/0001_fix_cmake_linking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/restclient-cpp/0001_fix_cmake_linking.patch')
-rw-r--r--ports/restclient-cpp/0001_fix_cmake_linking.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/restclient-cpp/0001_fix_cmake_linking.patch b/ports/restclient-cpp/0001_fix_cmake_linking.patch
new file mode 100644
index 000000000..815c2198c
--- /dev/null
+++ b/ports/restclient-cpp/0001_fix_cmake_linking.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 45fc887..8b90048 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -39,7 +39,7 @@ find_package(Threads REQUIRED)
+ find_package(CURL REQUIRED)
+ find_package(jsoncpp)
+
+-add_library(restclient-cpp SHARED
++add_library(restclient-cpp
+ source/restclient.cc
+ source/connection.cc
+ source/helpers.cc