Alternatively you could use reggea to build both.
I want to use dub.Simply because of code.dlang.org. Or can reggae also pull packages from there?
You could try including the c source in your repo and add preBuildCommands to the dub config which builds the static library.
preBuildCommands seems to be the way to go. Thank you all.