Ticket #7733: ios-patch-13a-fix-build-without-dph.patch

File ios-patch-13a-fix-build-without-dph.patch, 319 bytes (added by StephenBlackheath, 2 years ago)

iOS patch 13 rev a: This fixes it by adding libraries/dph to BUILDDIRS only if the directory exists

  • ghc.mk

    diff --git a/ghc.mk b/ghc.mk
    index 191987c..b4592de 100644
    a b BUILD_DIRS += ghc 
    657657 
    658658ifneq "$(CLEANING)" "YES" 
    659659BUILD_DIRS += $(patsubst %, libraries/%, $(PACKAGES_STAGE2)) 
    660 BUILD_DIRS += libraries/dph 
     660BUILD_DIRS += $(wildcard libraries/dph) 
    661661endif 
    662662 
    663663ifneq "$(BINDIST)" "YES"