mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Only prepend the icu lib dir if it exists.
This commit is contained in:
parent
aa774d82ec
commit
62dcddf948
2
Setup.hs
2
Setup.hs
@ -25,7 +25,7 @@ conf x flags = do
|
||||
localPkgDescr = packageDescription {
|
||||
P.library = Just $ library {
|
||||
P.libBuildInfo = libraryBuildInfo {
|
||||
P.extraLibDirs = icuLibDir : extraLibDirs,
|
||||
P.extraLibDirs = if icuLibDirExists then icuLibDir : extraLibDirs else extraLibDirs,
|
||||
P.includeDirs = ((icuSourceDir ++) <$> relativeIncludeDirs) ++ P.includeDirs libraryBuildInfo
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user