diff options
| author | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2024-04-11 14:41:39 +0200 |
|---|---|---|
| committer | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2024-04-11 14:41:39 +0200 |
| commit | fd67099a7d9c55b0b29784a24658517948ee5172 (patch) | |
| tree | 4d4e6e33eaacd6eb364911770815b458f0033d6c /bindgen | |
| parent | c169a04fb16b9d94cec0f87e290446b91c39437a (diff) | |
correct dll lib link path
Diffstat (limited to 'bindgen')
| -rw-r--r-- | bindgen/gen_odin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bindgen/gen_odin.py b/bindgen/gen_odin.py index fc101fb5..1c20d5e1 100644 --- a/bindgen/gen_odin.py +++ b/bindgen/gen_odin.py @@ -353,11 +353,11 @@ def gen_c_imports(inp, c_prefix, prefix): l( 'when ODIN_OS == .Windows {') l( ' when SOKOL_DLL {') l( ' when SOKOL_USE_GL {') - l(f' when SOKOL_DEBUG {{ foreign import {clib_import} {{ "sokol_dll_windows_x64_gl_debug.lib"{windows_gl_libs} }} }}') - l(f' else {{ foreign import {clib_import} {{ "sokol_dll_windows_x64_gl_release.lib"{windows_gl_libs} }} }}') + l(f' when SOKOL_DEBUG {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_gl_debug.lib"{windows_gl_libs} }} }}') + l(f' else {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_gl_release.lib"{windows_gl_libs} }} }}') l( ' } else {') - l(f' when SOKOL_DEBUG {{ foreign import {clib_import} {{ "sokol_dll_windows_x64_d3d11_debug.lib"{windows_d3d11_libs} }} }}') - l(f' else {{ foreign import {clib_import} {{ "sokol_dll_windows_x64_d3d11_release.lib"{windows_d3d11_libs} }} }}') + l(f' when SOKOL_DEBUG {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_d3d11_debug.lib"{windows_d3d11_libs} }} }}') + l(f' else {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_d3d11_release.lib"{windows_d3d11_libs} }} }}') l( ' }') l( ' } else {') l( ' when SOKOL_USE_GL {') |