Skip to content

Commit f149f97

Browse files
authored
Merge pull request #163 from Faless/fix/compat_min_version
[Build] Fix gdextension file after dropping 4.0
2 parents 1992779 + cf038b2 commit f149f97

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

SConstruct

+1-5
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,6 @@ if env["godot_version"] == "3":
241241
},
242242
)
243243
else:
244-
extfile = env.Substfile(
245-
os.path.join(result_path, "webrtc.gdextension"),
246-
"misc/webrtc.gdextension",
247-
SUBST_DICT={"{GODOT_VERSION}": env["godot_version"]},
248-
)
244+
extfile = env.InstallAs(os.path.join(result_path, "webrtc.gdextension"), "misc/webrtc.gdextension")
249245

250246
Default(extfile)

misc/webrtc.gdextension

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[configuration]
22

33
entry_symbol = "webrtc_extension_init"
4-
compatibility_minimum = {GODOT_VERSION}
4+
compatibility_minimum = 4.1
55

66
[libraries]
77

0 commit comments

Comments
 (0)