Comment #0 by timothee.cour2 — 2014-01-22T17:26:19Z
when make -f posix.mak encounters this:
($(DMD) -v -of$(@) $(@).o 2>/dev/null | grep '\-Xlinker' | cut -f2- -d' ' ; echo -lcurl ) | xargs $(CC)
it breaks with:
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
Note that this works (on my system):
$(DMD) -of$(@) $(@).o -L-lcurl
Maybe we should have a check for whether curl is installed
But as I've suggested before, we should use makefile only in initial bootstrap step, and then use a D-based build tool which would not suck unlike makefiles.
Comment #1 by bugzilla — 2014-01-24T22:06:59Z
Is this a regression? Did it ever work?
Comment #2 by bugzilla — 2014-07-07T05:04:55Z
I can't find that line in the tools/posix.mak file. I presume it was fixed some time ago.