DefaultEnvironment(DC='/opt/gdc/bin/gdmd')
Program('helloworld',
'main.d',
LIBPATH=['/opt/gdc/lib64','/usr/lib'],
LIBS=['gphobos2','m','pthread','rt'])Solves the problem. Though, if there's a better way to do things, feel free to let me know.
