Fixup for bug 1178266 - Link libxul against libatomic when necessary
authorMike Hommey <mh@glandium.org>
Sun, 4 Oct 2015 22:28:34 +0000 (07:28 +0900)
committerMike Hommey <glandium@debian.org>
Sun, 14 Feb 2016 09:25:51 +0000 (09:25 +0000)
Gbp-Pq: Topic fixes
Gbp-Pq: Name Fixup-for-bug-1178266-Link-libxul-against-libatomic-.patch

toolkit/library/moz.build

index 642b58769efe58da91211d2d770cc3b5418d70a0..03d81c4f1a9ab223e0078d956953e542ff72ed5d 100644 (file)
@@ -55,6 +55,8 @@ def Libxul(name):
     if not CONFIG['JS_SHARED_LIBRARY']:
         LIBRARY_DEFINES['STATIC_EXPORTABLE_JS_API'] = True
 
+    if CONFIG['MOZ_NEEDS_LIBATOMIC']:
+        OS_LIBS += ['atomic']
 
 Libxul('xul')