diff options
Diffstat (limited to 'modules/brotli/moz.build')
-rw-r--r-- | modules/brotli/moz.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/brotli/moz.build b/modules/brotli/moz.build index 3dec54a48..b2b87b40a 100644 --- a/modules/brotli/moz.build +++ b/modules/brotli/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- -# vim: set filetype=python: # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -26,6 +25,9 @@ SOURCES += [ 'dec/state.c', ] +if CONFIG['GKMEDIAS_SHARED_LIBRARY']: + NO_VISIBILITY_FLAGS = True + # We allow warnings for third-party code that can be updated from upstream. ALLOW_COMPILER_WARNINGS = True @@ -37,6 +39,8 @@ CFLAGS += ['-DBROTLI_BUILD_PORTABLE'] Library('brotli') +FINAL_LIBRARY = 'gkmedias' + HostProgram('brotli') HOST_SOURCES += SOURCES |