On Tuesday, 27 November 2012 at 16:04:47 UTC, Andrei Alexandrescu 
wrote:
> #!/usr/bin/rdmd
> /**rdmdoptions
> -L-lmylib
> */
> ...
#!/usr/bin/rdmd
@("compiler options", "-L-lmylib") module main;
...
Maybe... sorry I don't know if this would work with current UDA.