scons LIBPATH generates additional library paths

Posted by Anonym on Stack Overflow See other posts from Stack Overflow or by Anonym
Published on 2010-03-12T12:15:19Z Indexed on 2010/03/12 12:17 UTC
Read the original article Hit count: 317

Filed under:
|

I'm building a C project using scons, some internal static libraries are build and the exe files are linked to it. However, setting:

env['LIBPATH'] = ['#build/libs']

generates a -Llibs and a -Lbuild/libs argument to gcc:

gcc -o edecode main.o pack16.o pack16le.o pack32.o pack32le.o pack64.o -Lbuild/libs -Llibs -lutillib

Why's that ? I only told it to look in build/libs

© Stack Overflow or respective owner

Related posts about scons

Related posts about c