mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
gn build: Port r342002
I had hoped we could remove the dependency on shell32.lib from lib/Support (there isn't much depending on it), but looks like this will take a while. So for now, port this over. Differential Revision: https://reviews.llvm.org/D58925 llvm-svn: 355604
This commit is contained in:
parent
19043d8067
commit
9df3cc24b3
@ -159,5 +159,12 @@ static_library("Support") {
|
||||
|
||||
if (current_os == "linux" || current_os == "android") {
|
||||
libs += [ "dl" ]
|
||||
} else if (current_os == "win") {
|
||||
# Delay load shell32.dll if possible to speed up process startup.
|
||||
libs += [ "delayimp.lib" ]
|
||||
ldflags = [
|
||||
"-delayload:ole32.dll",
|
||||
"-delayload:shell32.dll",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user