When creating a binding package in the dub repository do you specify the link flags?

Gary Willoughby dev at nomad.so
Fri Jan 10 10:44:22 PST 2014


When creating a binding package in the dub repository do you 
specify the link flags or leave that up to the developer using 
the library?

For example, each package in the dub repository has a 
package.json which describes exactly how the package should build 
and link, etc. If the package only contained bindings to a C 
library would you add the flag necessary to link against it there 
or leave the responsibility for linking for the client 
application that uses your binding?


More information about the Digitalmars-d-learn mailing list