Ticket #8217: Use-CrossCompilePrefix-for-libdir.patch

File Use-CrossCompilePrefix-for-libdir.patch, 445 bytes (added by lukexi, 2 years ago)
  • mk/install.mk.in

    diff --git a/mk/install.mk.in b/mk/install.mk.in
    index 2808c1f..d6f68ab 100644
    a b else 
    105105# to be in the same place (and things like ghc-pkg need to agree on
    106106# where package.conf is, so we just set it globally).
    107107#
    108 ghclibdir     = $(libdir)/ghc-$(ProjectVersion)
     108ghclibdir     = $(libdir)/$(CrossCompilePrefix)ghc-$(ProjectVersion)
    109109ghcdocdir     = $(datarootdir)/doc/ghc
    110110endif
    111111