Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative paths to GDExtension libraries are "out-of-project" when exporting #63230

Closed
nathanfranke opened this issue Jul 20, 2022 · 0 comments · Fixed by #67906
Closed

Relative paths to GDExtension libraries are "out-of-project" when exporting #63230

nathanfranke opened this issue Jul 20, 2022 · 0 comments · Fixed by #67906

Comments

@nathanfranke
Copy link
Contributor

Godot version

v4.0.alpha.custom_build [7378dc6]

System information

Arch on 5.18.11-arch1-1

Issue description

I have local paths in my gdextension libraries (so does the official demo):

linux.debug.x86_64 = "bin/libgdextension.linux.debug.x86_64.so"
linux.release.x86_64 = "bin/libgdextension.linux.release.x86_64.so"
android.debug.arm64 = "bin/libgdextension.android.debug.arm64.so"
android.release.arm64 = "bin/libgdextension.android.release.arm64.so"

However when I export, it prints Skipping export of out-of-project library bin/libgdextension.linux.debug.x86_64.so

Only begins_with("res://") is checked.
https://github.com/godotengine/godot/blob/master/editor/plugins/gdextension_export_plugin.h#L74-L77
https://github.com/godotengine/godot/blob/master/editor/plugins/gdextension_export_plugin.h#L133-L136

Steps to reproduce

  1. Export project with gdextension

Minimal reproduction project

https://github.com/godotengine/godot-cpp/tree/master/test
https://github.com/nathanfranke/gdextension

@nathanfranke nathanfranke changed the title Relative paths to GDExtension libraries are "out-of-project" Relative paths to GDExtension libraries are "out-of-project" when exporting Jul 20, 2022
@akien-mga akien-mga added this to the 4.0 milestone Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants