Build with ldc
This commit is contained in:
parent
2c3a49761c
commit
509a3d1235
@ -1,5 +1,5 @@
|
|||||||
configure do
|
configure do
|
||||||
check_d_compiler
|
check_d_compiler "ldc"
|
||||||
check_cfg package: "freetype2"
|
check_cfg package: "freetype2"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ env "app" do |env|
|
|||||||
"modules/glamour",
|
"modules/glamour",
|
||||||
"modules/dft/src",
|
"modules/dft/src",
|
||||||
]
|
]
|
||||||
env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"]
|
env["DFLAGS"] += ["--d-version=Derelict3", "--d-version=SDLImage2"]
|
||||||
env["LDFLAGS"] += ["-static-libgcc"]
|
env["LDFLAGS"] += ["-static-libgcc"]
|
||||||
env.Program("^/app", sources)
|
env.Program("^/app", sources)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user