$NetBSD: patch-CMakeLists.txt,v 1.2 2020/08/31 08:45:44 wiz Exp $

Use shared libraries for linking the main executable.

--- CMakeLists.txt.orig	2020-08-27 14:12:55.000000000 +0000
+++ CMakeLists.txt
@@ -216,7 +216,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_EMSCRIPTEN)
