mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Bind variables for the icu dirs.
This commit is contained in:
parent
19913e49ef
commit
cf03cd7783
6
Setup.hs
6
Setup.hs
@ -16,12 +16,14 @@ conf x flags = do
|
||||
libraryBuildInfo = P.libBuildInfo library
|
||||
relativeIncludeDirs = [ "common", "i18n" ] in do
|
||||
dir <- getCurrentDirectory
|
||||
let icuLibDir = dir ++ "/vendor/icu/lib"
|
||||
let icuSourceDir = dir ++ "/vendor/icu/source/"
|
||||
return localBuildInfo {
|
||||
localPkgDescr = packageDescription {
|
||||
P.library = Just $ library {
|
||||
P.libBuildInfo = libraryBuildInfo {
|
||||
P.extraLibDirs = (dir ++ "/vendor/icu/lib") : P.extraLibDirs libraryBuildInfo,
|
||||
P.includeDirs = (((dir ++ "/vendor/icu/source/") ++) <$> relativeIncludeDirs) ++ P.includeDirs libraryBuildInfo
|
||||
P.extraLibDirs = icuLibDir : P.extraLibDirs libraryBuildInfo,
|
||||
P.includeDirs = ((icuSourceDir ++) <$> relativeIncludeDirs) ++ P.includeDirs libraryBuildInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user