Bug 1368264 - Fix missing RUST_PROGRAMS entry in if-condition r=froydnj
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 01 Jun 2017 20:08:27 +0100
changeset 410873 9eec39879b33d9ad0e941d799fdf691e7fe6a689
parent 410872 e5060676549102c4659195d24df81c85c0dd1281
child 410874 332dae5c381b80bdc0e2c24a90f16b2806c19443
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1368264
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 1368264 - Fix missing RUST_PROGRAMS entry in if-condition r=froydnj Final target Rust programs are currently not picked up and symlinked/copied to ${objdir}/dist/bin because the RUST_PROGRAMS output variable is missing from the if-condition. This change causes Rust binaries from RUST_PROGRAMS to be placed alongside the other final target programs. MozReview-Commit-ID: 5OIH1UMmCq2
config/makefiles/target_binaries.mk
--- a/config/makefiles/target_binaries.mk
+++ b/config/makefiles/target_binaries.mk
@@ -2,17 +2,17 @@
 # vim:set ts=8 sw=8 sts=8 noet:
 #
 # 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/.
 
 ifndef NO_DIST_INSTALL
 
-ifneq (,$(strip $(PROGRAM)$(SIMPLE_PROGRAMS)))
+ifneq (,$(strip $(PROGRAM)$(SIMPLE_PROGRAMS)$(RUST_PROGRAMS)))
 PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(PROGRAM) $(RUST_PROGRAMS)
 PROGRAMS_DEST ?= $(FINAL_TARGET)
 PROGRAMS_TARGET := target
 INSTALL_TARGETS += PROGRAMS
 endif
 
 ifdef LIBRARY
 ifdef DIST_INSTALL