Godot Version
4.3
Question
I try to build godot with custom module which required C-library also
This is my SCsub
# SCsub
Import('env')
env_mymodule = env.Clone()
env_mymodule.add_source_files(env_mymodule.modules_sources, "*.cpp") # Add all cpp files to the build
env_mymodule.Append(CPPPATH=["mylib/include"])
mylib = env_mymodule.StaticLibrary(target='mylib', source=Glob("mylib/src/*.c"))
env_mymodule.Append(LIBS='mylib', LIBPATH=['.'])
it is very similar like I did in GDExtention. But static library not builded.
Yes, I know I can include c-files from library, like
env_mymodule.add_source_files(env_mymodule.modules_sources, Glob("mylib/src/*.c"))
it works, but interested if it posible to build mylib as static library.