Bug 1092151 - Don't use dllimport/dllexport for OTS in non-shared gkmedias builds. r=glandium

This commit is contained in:
Jacek Caban 2014-11-05 11:27:13 +01:00
parent 84cbec2fd3
commit d356da397a
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ DEFINES['PACKAGE_VERSION'] = '"moz"'
DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
DEFINES['NOMINMAX'] = True
if CONFIG['OS_TARGET'] == 'WINNT':
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
DEFINES['OTS_DLL'] = True
DEFINES['OTS_DLL_EXPORTS'] = True

View File

@ -293,5 +293,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'qt'):
DEFINES['GRAPHITE2_STATIC'] = True
if CONFIG['OS_TARGET'] == 'WINNT':
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
DEFINES['OTS_DLL'] = True