blob: bc837b40791352ead79565b04f7df03c1e677b8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
from devtools.yamaker.modules import Switch
from devtools.yamaker.project import GNUMakeNixProject
def post_install(self):
self.yamakes["."].after(
"NO_SANITIZE",
Switch(
{
"SANITIZER_TYPE == undefined": "NO_SANITIZE()",
}
),
)
bzip2 = GNUMakeNixProject(
arcdir="contrib/libs/libbz2",
nixattr="bzip2",
install_targets=["bz2"],
post_install=post_install,
)
|