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:
parent
cf03cd7783
commit
3d38ec9a49
2
Setup.hs
2
Setup.hs
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user