mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1001001 - stop exporting opus_ symbols from libxul r=rilian, ted
opus doesn't seem to provide a define for being built as a static library, but it allows us to override what it would define OPUS_EXPORT to be. So we can just define OPUS_EXPORT to the empty string and then those symbols will be hidden in libxul just like anything else.
This commit is contained in:
parent
cad1735642
commit
8d65cfed89
@ -28,6 +28,11 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_AS']:
|
||||
DEFINES['OPUS_ARM_MAY_HAVE_MEDIA'] = True
|
||||
DEFINES['OPUS_ARM_MAY_HAVE_NEON'] = True
|
||||
|
||||
# We only need to export symbols if we're built into libgkmedias instead of
|
||||
# libxul which only happens on windows.
|
||||
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
||||
DEFINES['OPUS_EXPORT'] = ''
|
||||
|
||||
if CONFIG['MOZ_DEBUG']:
|
||||
DEFINES['ENABLE_ASSERTIONS'] = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user