X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FSysTools.lhs;h=6aa04b1459c35160bbb65dd6cb2c126930703e34;hp=2df9a7240702037e8524760a5494dbb2decfe1ec;hb=c72f2cb1f7eb299f9289b7a33233174d470cfa0f;hpb=c222ce6d2dcde7dcef36d95fc225fd65d56bdb63 diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs index 2df9a72..6aa04b1 100644 --- a/compiler/main/SysTools.lhs +++ b/compiler/main/SysTools.lhs @@ -174,7 +174,13 @@ initSysTools mbMinusB dflags ; let installed, installed_bin :: FilePath -> FilePath installed_bin pgm = top_dir pgm installed file = top_dir file - inplace dir pgm = top_dir cPROJECT_DIR dir pgm + inplace dir pgm = top_dir +#ifndef darwin_TARGET_OS +-- Not sure where cPROJECT_DIR makes sense, on Mac OS, building with +-- xcodebuild, it surely is a *bad* idea! -=chak + cPROJECT_DIR +#endif + dir pgm ; let pkgconfig_path | am_installed = installed "package.conf"