summary refs log tree commit diff
path: root/pkgs/servers/trezord/dynamic-link.patch
blob: 0f1f448a3f793b2d002a15e9b3255a12cedf8d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c0e2cf..0e3f4ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,13 +59,6 @@ target_link_libraries(trezord ${OS_LIBRARIES})
 find_package(CURL REQUIRED)
 find_package(libmicrohttpd REQUIRED)
 
-# add static libs
-if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
-  set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
-  set(BUILD_SHARED_LIBS off)
-  set(Boost_USE_STATIC_LIBS on)
-  set(CMAKE_FIND_STATIC FIRST)
-endif(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
 find_package(Boost 1.53.0 REQUIRED
   regex thread system unit_test_framework program_options chrono)
 find_package(Protobuf 2.5.0 REQUIRED)