summaryrefslogtreecommitdiff
path: root/archivers/brotli/patches/patch-CMakeLists.txt
blob: 17bf22dcd37273606f1e05ad4239462774fc91b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-CMakeLists.txt,v 1.1 2019/04/19 17:56:52 adam Exp $

Use shared libraries for linking the main executable.

--- CMakeLists.txt.orig	2019-04-19 17:41:26.000000000 +0000
+++ CMakeLists.txt
@@ -183,7 +183,7 @@ endif()
 
 # Build the brotli executable
 add_executable(brotli ${BROTLI_CLI_C})
-target_link_libraries(brotli ${BROTLI_LIBRARIES_STATIC})
+target_link_libraries(brotli ${BROTLI_LIBRARIES})
 
 # Installation
 if(NOT BROTLI_BUNDLED_MODE)