summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-12-01 18:33:20 -0500
committerMatt A. Tobin <email@mattatobin.com>2021-12-01 18:33:20 -0500
commit4ac8ee22c86bc579b45bc5aa9f5a57086c3a8991 (patch)
tree582f4026afbf0a0a12217670df3d00b59c31c3cc /libs
parent4d9dcd98b7e8a8d64b71edc55aa9ca520d66f6c4 (diff)
downloadaura-central-4ac8ee22c86bc579b45bc5aa9f5a57086c3a8991.tar.gz
No Issue - graphite2 is indeed also licensed under MPL so back to gremedia it goes
Diffstat (limited to 'libs')
-rw-r--r--libs/graphite2/src/moz.build12
1 files changed, 9 insertions, 3 deletions
diff --git a/libs/graphite2/src/moz.build b/libs/graphite2/src/moz.build
index 0f46e300e..c90ba0827 100644
--- a/libs/graphite2/src/moz.build
+++ b/libs/graphite2/src/moz.build
@@ -57,12 +57,18 @@ SOURCES += [
'UtfCodec.cpp',
]
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ NO_VISIBILITY_FLAGS = True
+ DEFINES['GRAPHITE2_EXPORTING'] = True
+else:
+ # tell graphite2 not to export symbols, we'll be linking it directly with
+ # thebes
+ DEFINES['GRAPHITE2_STATIC'] = True
+
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True
-NO_VISIBILITY_FLAGS = True
-DEFINES['GRAPHITE2_EXPORTING'] = True
-FINAL_LIBRARY = 'lgplmedia'
+FINAL_LIBRARY = 'gremedia'
DEFINES['PACKAGE_VERSION'] = '"moz"'
DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'