Bug 1367662. Link pingsender to mozglue if we're using things that are defined in mfbt. r=gsvelto
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 25 May 2017 13:39:44 -0400
changeset 584697 f43ff529c51508085e7d302f2ebe6b50ad59dfe5
parent 584696 9883fe74207112ee8451d127a834835f2ac28604
child 584698 3c315bd6cf00e3f2a7439cd36d4f55be6ae012db
push id60843
push userbschouten@mozilla.com
push dateThu, 25 May 2017 21:57:22 +0000
reviewersgsvelto
bugs1367662
milestone55.0a1
Bug 1367662. Link pingsender to mozglue if we're using things that are defined in mfbt. r=gsvelto
toolkit/components/telemetry/pingsender/moz.build
--- a/toolkit/components/telemetry/pingsender/moz.build
+++ b/toolkit/components/telemetry/pingsender/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 if CONFIG['OS_TARGET'] != 'Android':
-    Program('pingsender')
+    GeckoProgram('pingsender', linkage=None)
 
     UNIFIED_SOURCES += [
         'pingsender.cpp',
     ]
 
     LOCAL_INCLUDES += [
         '/toolkit/crashreporter/google-breakpad/src',
     ]
@@ -27,11 +27,12 @@ if CONFIG['OS_TARGET'] == 'WINNT':
     OS_LIBS += [
         'wininet',
     ]
 else:
     UNIFIED_SOURCES += [
         'pingsender_unix_common.cpp',
     ]
 
+
 # Don't use the STL wrappers; we don't link with -lmozalloc, and it really
 # doesn't matter here anyway.
 DISABLE_STL_WRAPPING = True