mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
update readme
`error: invalid option: -Dshared` by Zig 0.15.1 changed to .linkage = .dynamic
This commit is contained in:
parent
ed42d5dbdc
commit
c7ea429994
@ -101,7 +101,7 @@ shared library or not including certain modules. You can optionally pass these o
|
|||||||
const raylib_dep = b.dependency("raylib_zig", .{
|
const raylib_dep = b.dependency("raylib_zig", .{
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.shared = true, // Build raylib as a shared library
|
.linkage = .dynamic, // Build raylib as a shared library
|
||||||
.opengl_version = rlz.OpenglVersion.gl_2_1, // Use OpenGL 2.1 (requires importing raylib-zig's build script)
|
.opengl_version = rlz.OpenglVersion.gl_2_1, // Use OpenGL 2.1 (requires importing raylib-zig's build script)
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user