Skip to content

Commit

Permalink
C: Delete the lipo generated files before running the iOS lipo on Win…
Browse files Browse the repository at this point in the history
…dows
  • Loading branch information
jjensen committed Jan 6, 2015
1 parent e6fc36e commit 7ebc636
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/modules/c/toolchain/clang/ios-shared.jam
Expand Up @@ -421,10 +421,22 @@ actions ios.ProcessEntitlements
}
#plutil -convert binary1 $(1)

if $(NT) {

actions C.ios._Lipo {
if exist "$(1:\\).lipo" del /F "$(1:\\).lipo"
if exist "$(1:\\)" del /F "$(1:\\)"
$(C.LIPO:C) $(2:C) -output $(1:C) -create
}

} else {

actions C.ios._Lipo {
$(C.LIPO:C) $(2:C) -output $(1:C) -create
}

}

rule C.ios.Lipo TARGET : LINK_TARGETS : OUTPUT_PATH {
TARGET = [ ActiveTarget $(TARGET) ] ;
local _t = $(LINK_TARGETS[0]:G=$(C.ACTIVE_TOOLCHAIN_TARGET_GRIST)$(C.__COLON)lipo) ;
Expand Down

0 comments on commit 7ebc636

Please sign in to comment.