update readme

`error: invalid option: -Dshared` by Zig 0.15.1
changed to .linkage = .dynamic
This commit is contained in:
Jorn authored and Nikolas committed 2025-09-01 16:30:21 +02:00
1 parent ed42d5dbdc
commit c7ea429994
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ shared library or not including certain modules. You can optionally pass these o
const raylib_dep = b.dependency("raylib_zig", .{
.target = target,
.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)
});
```