blob: 41aed9b59b8c5580cdeb62838feb94929414db44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
UNIFIED_SOURCES = [
"mozwer.cpp",
]
USE_LIBS += [
"mozwer_s",
]
OS_LIBS += [
"advapi32",
"bcrypt",
]
# Version string comparison is generally wrong, but by the time it would
# actually matter, either bug 1489995 would be fixed, or the build would
# require version >= 1.78.
if CONFIG["RUSTC_VERSION"] and CONFIG["RUSTC_VERSION"] >= "1.78.0":
OS_LIBS += [
"synchronization",
]
DEFFILE = "mozwer.def"
USE_STATIC_LIBS = True
SharedLibrary("mozwer")
|