Bug 1633142 - move LDFLAGS to moz-build. rs=bustage-fix DONTBUILD
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Sat, 25 Apr 2020 19:50:07 +0300
changeset 38933 99b6256ea0bf453e35ca224c3c14b285a274ba52
parent 38932 6301c1c36be285b447012da86123d0f5493ffe25
child 38934 353338823ec92cf01259b8b33b13e8de79fa96ce
push id401
push userclokep@gmail.com
push dateMon, 01 Jun 2020 20:41:59 +0000
reviewersbustage-fix
bugs1633142
Bug 1633142 - move LDFLAGS to moz-build. rs=bustage-fix DONTBUILD
mail/components/search/mdimporter/Makefile.in
mail/components/search/mdimporter/moz.build
--- a/mail/components/search/mdimporter/Makefile.in
+++ b/mail/components/search/mdimporter/Makefile.in
@@ -19,11 +19,8 @@ PLIST_DEST := $(FRAMEWORK_DIR)/Contents
 INSTALL_TARGETS += PLIST
 
 CFLAGS += -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)
 # We don't need mozglue
 WRAP_LDFLAGS :=
 
 include $(moztopsrcdir)/config/rules.mk
 
-# We're also a bundle.
-LDFLAGS += -bundle
-
--- a/mail/components/search/mdimporter/moz.build
+++ b/mail/components/search/mdimporter/moz.build
@@ -12,8 +12,11 @@ Program('thunderbird-mdimport')
 # This directory is producing a framework as a target. The output of this
 # framework will be located here.
 FINAL_TARGET = 'dist/package/thunderbird.mdimporter/Contents/MacOS'
 
 OS_LIBS += [
     '-framework CoreFoundation',
     '-framework CoreServices',
 ]
+
+# We're also a bundle.
+LDFLAGS += ['-bundle']