system_cmds-498.0.10.tar.gz
[apple/system_cmds.git] / dp_notify_lib / Makefile
index 528c5a14802276ccad25b16e9750566e0106fe47..f1b68952ef464024b67edd7aedb7f0c491a95a6a 100644 (file)
@@ -10,6 +10,10 @@ Extra_LD_Flags = -static
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
+ifneq ($(SDKROOT),)
+Extra_MIG_Flags = -arch $(firstword $(RC_ARCHS))
+endif
+
 after_install: 
        $(INSTALL_DIRECTORY) $(DSTROOT)/usr/local/include/mach
        $(INSTALL_FILE) $(OBJROOT)/$(Project)/backing_store_alerts_server.h \