summaryrefslogtreecommitdiff
path: root/media/libjpeg
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-02 13:35:39 +0000
commitbabeb5c556de6f9686f5cd47133d0c40c07bfc2e (patch)
tree146dd48634e5d44746acdd49dc142e413349054d /media/libjpeg
parent0bb464bfc13e3a0239fd268de265fc332014b385 (diff)
downloaduxp-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.gz
Issue #61 - Reinstate buildability with shared gkmedias dll
This fully works for splitting gkmedias.dll back out from xul with one exception which is Skia throwing undefined externals when linking gkmedias.
Diffstat (limited to 'media/libjpeg')
-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 866830dad3..6519c30fbd 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