Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5462] Building Csound 5 report

Date2004-11-29 06:09
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:5462] Building Csound 5 report
I was looking at the SConstruct file and I cannot see where the dl
library is included, at least in normal use.  The code below looks odd
to me (but I do not know python), as if getPlatform() is 'mingw' then
it cannot be 'linux' 

    elif getPlatform() == 'mingw':
            csoundProgramEnvironment.Append(LIBS = ['stdc++', 'supc++'])
            ustubProgramEnvironment.Append(LIBS = ['stdc++', 'supc++'])
            vstEnvironment.Append(LIBS = ['stdc++', 'supc++'])
            guiProgramEnvironment.Append(LIBS = ['stdc++', 'supc++'])
            if getPlatform() == 'linux':
                    csoundProgramEnvironment.Append(LIBS = ['dl'])
                    ustubProgramEnvironment.Append(LIBS = ['dl'])
                    vstEnvironment.Append(LIBS = ['dl'])
                    guiProgramEnvironment.Append(LIBS = ['dl'])

Otherwise 'dl' is only added to csoundvst and pycsound
 
==John ffitch