Skip to content

Commit

Permalink
[Build] Fix gdextension file after dropping 4.0
Browse files Browse the repository at this point in the history
Renaming the godot version to "4" resulted in the GDExtension file
incorrectly setting "compatibility_minimum = 4" (instead of "4.1")
  • Loading branch information
Faless committed Jan 7, 2025
1 parent 1992779 commit cf038b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ if env["godot_version"] == "3":
},
)
else:
extfile = env.Substfile(
os.path.join(result_path, "webrtc.gdextension"),
"misc/webrtc.gdextension",
SUBST_DICT={"{GODOT_VERSION}": env["godot_version"]},
)
extfile = env.InstallAs(os.path.join(result_path, "webrtc.gdextension"), "misc/webrtc.gdextension")

Default(extfile)
2 changes: 1 addition & 1 deletion misc/webrtc.gdextension
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[configuration]

entry_symbol = "webrtc_extension_init"
compatibility_minimum = {GODOT_VERSION}
compatibility_minimum = 4.1

[libraries]

Expand Down

0 comments on commit cf038b2

Please sign in to comment.