1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

Bind variables for the existence of the icu dirs.

This commit is contained in:
Rob Rix 2016-02-29 09:38:14 -05:00
parent cf03cd7783
commit 3d38ec9a49

View File

@ -18,6 +18,8 @@ conf x flags = do
dir <- getCurrentDirectory dir <- getCurrentDirectory
let icuLibDir = dir ++ "/vendor/icu/lib" let icuLibDir = dir ++ "/vendor/icu/lib"
let icuSourceDir = dir ++ "/vendor/icu/source/" let icuSourceDir = dir ++ "/vendor/icu/source/"
icuLibDirExists <- doesDirectoryExist icuLibDir
icuSourceDirExists <- doesDirectoryExist icuSourceDir
return localBuildInfo { return localBuildInfo {
localPkgDescr = packageDescription { localPkgDescr = packageDescription {
P.library = Just $ library { P.library = Just $ library {