mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
made stuff PIC
This commit is contained in:
parent
3f3e18dbe8
commit
48faf57d84
@ -148,11 +148,13 @@ pub fn build(b: *std.Build) !void {
|
||||
const engineStatic = b.addStaticLibrary(.{
|
||||
.name = "neonucleus",
|
||||
.root_module = engineMod,
|
||||
.pic = true,
|
||||
});
|
||||
|
||||
const engineShared = b.addSharedLibrary(.{
|
||||
.name = if(os == .windows) "neonucleusdll" else "neonucleus",
|
||||
.root_module = engineMod,
|
||||
.pic = true,
|
||||
});
|
||||
|
||||
const engineStep = b.step("engine", "Builds the engine as a static library");
|
||||
|
Loading…
x
Reference in New Issue
Block a user