Skip to content

Fix looking for extension_api.json with custom gdextension_dir - #2052

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
dsnopek:fix-gdextension-dir
Aug 31, 2026
Merged

Fix looking for extension_api.json with custom gdextension_dir#2052
dsnopek merged 1 commit into
godotengine:masterfrom
dsnopek:fix-gdextension-dir

Conversation

@dsnopek

@dsnopek dsnopek commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

It used to be possible to specify scons gdextension_dir=PATH where PATH contains files named extension_api.json and gdextension_interface.json, but I broke it in #2034 by making it always include the api_version in the path (like extension_api-4-7.json). However, it should really only use the api_version when looking for the bundled JSON files, not when using a custom directory

This PR makes it so that it looks for extension_api.json when the user gives a custom gdextension_dir

@dsnopek dsnopek added this to the 10.x milestone Aug 31, 2026
@dsnopek
dsnopek requested a review from a team as a code owner August 31, 2026 17:35
@dsnopek dsnopek added the bug This has been identified as a bug label Aug 31, 2026
@dsnopek
dsnopek merged commit 26fb7ab into godotengine:master Aug 31, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants