forked from Lainports/freebsd-ports
The ClamAV bytecode compiler allows users to build their own bytecode signatures for use with ClamAV. WWW: https://www.clamav.net/
14 lines
496 B
C++
14 lines
496 B
C++
--- ../clang/lib/Frontend/CompilerInvocation.cpp.orig
|
|
+++ ../clang/lib/Frontend/CompilerInvocation.cpp
|
|
@@ -993,9 +993,8 @@ std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
|
|
P.eraseComponent(); // Remove /bin from foo/bin
|
|
|
|
// Get foo/lib/clang/<version>/include
|
|
- P.appendComponent("lib");
|
|
- P.appendComponent("clang");
|
|
- P.appendComponent(CLANG_VERSION_STRING);
|
|
+ P.appendComponent("share");
|
|
+ P.appendComponent("clambc");
|
|
}
|
|
|
|
return P.str();
|