Skip to content

Commit

Permalink
Don't set runtime_library_dirs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ShukantPal committed Nov 3, 2023
1 parent 3489f66 commit d53b560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/python_binding/buildscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
sources=['pyktx/ktx_texture.c', 'pyktx/ktx_texture1.c', 'pyktx/ktx_texture2.c'],
libraries=['ktx'],
library_dirs=([LIBKTX_LIB_DIR] if LIBKTX_LIB_DIR is not None else []),
runtime_library_dirs=([LIBKTX_LIB_DIR] if LIBKTX_LIB_DIR is not None else []))
runtime_library_dirs=(([LIBKTX_LIB_DIR] if LIBKTX_LIB_DIR is not None else [])) if os.name == 'nt' else None)

if __name__ == "__main__":
ffibuilder.compile(verbose=True)
Expand Down

0 comments on commit d53b560

Please sign in to comment.