diff options
Diffstat (limited to 'sdks/builds/ios.mk')
-rw-r--r-- | sdks/builds/ios.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sdks/builds/ios.mk b/sdks/builds/ios.mk index 468f67edabf..73d4fd1e24d 100644 --- a/sdks/builds/ios.mk +++ b/sdks/builds/ios.mk @@ -12,10 +12,12 @@ ios_FRAMEWORKS_DIR = $(TOP)/sdks/out/ios-frameworks ios_LIBS_DIR = $(TOP)/sdks/out/ios-libs -ios_ARCHIVE += ios-frameworks ios-libs -ios_PLATFORM_BIN=$(XCODE_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin +ios_MONO_VERSION = $(TOP)/sdks/out/ios-mono-version.txt + +ios_ARCHIVE += ios-frameworks ios-libs ios-mono-version.txt +ADDITIONAL_PACKAGE_DEPS += $(ios_FRAMEWORKS_DIR) $(ios_LIBS_DIR) $(ios_MONO_VERSION) -ADDITIONAL_PACKAGE_DEPS += $(ios_FRAMEWORKS_DIR) $(ios_LIBS_DIR) +ios_PLATFORM_BIN=$(XCODE_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin ## # Device builds @@ -554,6 +556,10 @@ $(ios_LIBS_DIR): package-ios-target32 package-ios-target32s package-ios-target64 $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(ios_LIBS_DIR)/watchos-sim/libmono-native-compat.dylib.dSYM $(ios_LIBS_DIR)/watchos-sim/libmono-native-compat.dylib $(ios_PLATFORM_BIN)/dsymutil -t 4 -o $(ios_LIBS_DIR)/watchos-sim/libmono-native-unified.dylib.dSYM $(ios_LIBS_DIR)/watchos-sim/libmono-native-unified.dylib + +$(ios_MONO_VERSION): $(TOP)/configure.ac + grep AC_INIT $(TOP)/configure.ac | sed -e 's/.*\[//' -e 's/\].*//' > $@ + ## # BCL builds ## |