Replace broken ifdef with ifeq for toolkit packager.mk to fix the Mac define, follow-up to bug 785102. rs=glandium over irc.
authorMark Banner <bugzilla@standard8.plus.com>
Sun, 26 Aug 2012 20:48:57 +0100
changeset 105497 d2b3cdaa149b928160ac08249afccf687818dc79
parent 105496 b3cce81fef1ad4558bda4dd899db70c4c301e6cc
child 105515 2b9625825da7911aba106256c48fa6750fb9cd24
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersglandium
bugs785102
milestone17.0a1
Replace broken ifdef with ifeq for toolkit packager.mk to fix the Mac define, follow-up to bug 785102. rs=glandium over irc.
toolkit/mozapps/installer/packager.mk
--- a/toolkit/mozapps/installer/packager.mk
+++ b/toolkit/mozapps/installer/packager.mk
@@ -464,17 +464,17 @@ PRECOMPILE_RESOURCE=gre
 PRECOMPILE_GRE=$$PWD
 endif
 
 ifneq (,$(filter WINNT OS2,$(OS_ARCH)))
 # FIXME: not tested on OS/2. Is it using the correct libxul?
 RUN_FROM_PWD = $(_ABS_RUN_TEST_PROGRAM)
 else
 # For non-Windows, just set the library path so we load the libs from the right place.
-ifdef ($(OS_ARCH),Darwin)
+ifeq ($(OS_ARCH),Darwin)
 RUN_FROM_PWD = DYLD_LIBRARY_PATH=$(PRECOMPILE_GRE)
 else
 RUN_FROM_PWD = "$$PWD/run-mozilla.sh"
 endif
 endif
 
 # Silence the unzip step so we don't print any binary data from the comment field.
 GENERATE_CACHE = \