Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F9914023
google-brotli-static-link.patch
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
google-brotli-static-link.patch
View Options
--- a/meson.build
+++ b/meson.build
@@ -65,16 +65,6 @@
bcs = []
bds = []
bes = []
-install = false
-if get_option('default_library') == 'shared'
- c_args += ['-DBROTLI_SHARED_COMPILATION']
- install = true
- bcs = '-DBROTLICOMMON_SHARED_COMPILATION'
- bds = '-DBROTLIDEC_SHARED_COMPILATION'
- bes = '-DBROTLIENC_SHARED_COMPILATION'
-elif get_option('default_library') == 'both'
- error('both not yet supported.')
-endif
common_src = files(
'c/common/constants.c',
@@ -85,14 +75,12 @@
'c/common/transform.c',
)
-libbrotli_common = library(
+libbrotli_common = static_library(
'brotli_common',
common_src,
gnu_symbol_visibility: 'hidden',
c_args: [c_args, bcs],
include_directories: inc,
- version: meson.project_version(),
- install: install,
)
brotli_common_dep = declare_dependency(
@@ -107,14 +95,12 @@
'c/dec/state.c',
)
-libbrotli_decoder = library(
+libbrotli_decoder = static_library(
'brotli_decoder',
dec_src,
gnu_symbol_visibility: 'hidden',
c_args: [c_args, bds],
dependencies: brotli_common_dep,
- version: meson.project_version(),
- install: install,
)
enc_src = files(
@@ -141,14 +127,12 @@
'c/enc/utf8_util.c',
)
-libbrotli_encoder = library(
+libbrotli_encoder = static_library(
'brotli_encoder',
enc_src,
c_args: [c_args, bes],
gnu_symbol_visibility: 'hidden',
dependencies: [dep_m, brotli_common_dep],
- version: meson.project_version(),
- install: install,
)
meson.override_dependency('libbrotlicommon', brotli_common_dep)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Aug 1, 6:52 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
600097
Default Alt Text
google-brotli-static-link.patch (1 KB)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment