1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 03:09:48 +03:00

Only prepend the relative paths inside the source dir if it exists.

This commit is contained in:
Rob Rix 2016-02-29 09:43:10 -05:00
parent 5bf676c2e6
commit bd52db2b9a

View File

@ -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
}
}
}