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 360720 f43ff529c51508085e7d302f2ebe6b50ad59dfe5
parent 360719 9883fe74207112ee8451d127a834835f2ac28604
child 360721 3c315bd6cf00e3f2a7439cd36d4f55be6ae012db
push id31893
push userryanvm@gmail.com
push dateFri, 26 May 2017 01:30:27 +0000
treeherdermozilla-central@0874cf4bb194 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgsvelto
bugs1367662
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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