1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +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
let icuLibDir = dir ++ "/vendor/icu/lib"
let icuSourceDir = dir ++ "/vendor/icu/source/"
icuLibDirExists <- doesDirectoryExist icuLibDir
icuSourceDirExists <- doesDirectoryExist icuSourceDir
return localBuildInfo {
localPkgDescr = packageDescription {
P.library = Just $ library {