Because I want to focus on the product I am building right now, not on side-projects.
You could try including the c source in your repo and add preBuildCommands to the dub config which builds the static library. Alternatively you could use reggea to build both.