blob: af7f2b3eebfeac7d7e8ac6b9678f1bc358fae97b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Upstream: no.
Reason: Without it the tool is linked staticlly.
GH has an issue requesting an option to build against the shared lib.
URL: https://github.com/google/brotli/issues/803
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -183,7 +183,7 @@
# 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)
|