13.08.2010 22:27, Nick Sabalausky wrote:
"Adam Ruppe"<destructiona...@gmail.com>  wrote in message
news:mailman.284.1281721417.13841.digitalmar...@puremagic.com...
On 8/13/10, Graham Fawcett<fawc...@uwindsor.ca>  wrote:
Just FYI, if you add 'pragma(lib, "curl");' to the top of your
curl.d file, you shouldn't need '-L-lcurl' any more; dmd will
add it automatically during linking.
Very cool. For some reason, I thought that didn't work on linux... I
must have just been doing it wrong before.

I had been thinking it was just a feature of "bud". Very good to know.

It works well with .d files, but not with import (.di) files. Both on Windows and Linux. Maybe I miss something?

--

        

Reply via email to