summaryrefslogtreecommitdiff
path: root/media/libjpeg/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'media/libjpeg/moz.build')
-rw-r--r--media/libjpeg/moz.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libjpeg/moz.build b/media/libjpeg/moz.build
index 866830dad..6519c30fb 100644
--- a/media/libjpeg/moz.build
+++ b/media/libjpeg/moz.build
@@ -150,6 +150,9 @@ else: # No SIMD support?
ASFLAGS += CONFIG['LIBJPEG_TURBO_ASFLAGS']
ASFLAGS += ['-I%s/media/libjpeg/simd/' % TOPSRCDIR]
+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