Try to fix random make failure in src/ by not using pattern rules. (#4639)

Randomly make 3.81 says this:

    error CS0006: Metadata file 'build/ios/reference/MonoTouch.Dialog-1.dll' could not be found

The makefile seems fine, and it also doesn't happen when using make 4.21, so
this looks like a make bug.

So rewrite the troublesome rule to not be a pattern rule, and cross some fingers.
This commit is contained in:
Rolf Bjarne Kvinge 2018-08-18 00:44:36 +02:00 коммит произвёл GitHub
Родитель c94553f253
Коммит 8ff0dccad0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -174,7 +174,10 @@ $(eval $(call IOS_TARGETS_template,native-32,--ns=ObjCRuntime,Xamarin.iOS.dll,na
$(eval $(call IOS_TARGETS_template,native-64,--ns=ObjCRuntime,Xamarin.iOS.dll,native,native-64,64))
# MonoTouch.Dialog-1
$(IOS_BUILD_DIR)/reference/MonoTouch.Dialog-1.%: $(MACIOS_BINARIES_PATH)/MonoTouch.Dialog-Unified/ios/MonoTouch.Dialog-1.% | $(IOS_BUILD_DIR)/reference
$(IOS_BUILD_DIR)/reference/MonoTouch.Dialog-1.dll: $(MACIOS_BINARIES_PATH)/MonoTouch.Dialog-Unified/ios/MonoTouch.Dialog-1.dll | $(IOS_BUILD_DIR)/reference
$(Q) cp $< $@
$(IOS_BUILD_DIR)/reference/MonoTouch.Dialog-1.pdb: $(MACIOS_BINARIES_PATH)/MonoTouch.Dialog-Unified/ios/MonoTouch.Dialog-1.pdb | $(IOS_BUILD_DIR)/reference
$(Q) cp $< $@
# MonoTouch.NUnitLite