mirror of
https://github.com/github/semantic.git
synced 2024-12-28 01:11:52 +03:00
Only prepend the relative paths inside the source dir if it exists.
This commit is contained in:
parent
5bf676c2e6
commit
bd52db2b9a
2
Setup.hs
2
Setup.hs
@ -27,7 +27,7 @@ conf x flags = do
|
||||
P.library = Just $ library {
|
||||
P.libBuildInfo = libraryBuildInfo {
|
||||
P.extraLibDirs = if icuLibDirExists then icuLibDir : extraLibDirs else extraLibDirs,
|
||||
P.includeDirs = ((icuSourceDir ++) <$> relativeIncludeDirs) ++ includeDirs
|
||||
P.includeDirs = if icuSourceDirExists then ((icuSourceDir ++) <$> relativeIncludeDirs) ++ includeDirs else includeDirs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user