summaryrefslogtreecommitdiffstats
path: root/media/libspeex_resampler
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/libspeex_resampler
parent0bb464bfc13e3a0239fd268de265fc332014b385 (diff)
downloadUXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.gz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.lz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.tar.xz
UXP-babeb5c556de6f9686f5cd47133d0c40c07bfc2e.zip
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/libspeex_resampler')
-rw-r--r--media/libspeex_resampler/src/moz.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libspeex_resampler/src/moz.build b/media/libspeex_resampler/src/moz.build
index cad566800..c8c8db653 100644
--- a/media/libspeex_resampler/src/moz.build
+++ b/media/libspeex_resampler/src/moz.build
@@ -22,7 +22,11 @@ FINAL_LIBRARY = 'gkmedias'
# We don't compile the full speex codec, only the resampler.
DEFINES['OUTSIDE_SPEEX'] = True
+# Visibility is handled through VISIBILITY_FLAGS and
+# layout/media/symbols.def.in.
DEFINES['EXPORT'] = ''
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ NO_VISIBILITY_FLAGS = True
if CONFIG['MOZ_SAMPLE_TYPE_S16']:
DEFINES['FIXED_POINT'] = True