$NetBSD: patch-ad,v 1.3 2006/05/31 10:25:19 joerg Exp $ --- SConstruct.orig 2004-05-20 14:03:14.000000000 +0000 +++ SConstruct @@ -1,6 +1,8 @@ import os import glob +SConsignFile() + opts = Options( "my_options.py") opts.Add("qt_directory", "Path to Qt directory", "not specified") @@ -112,7 +114,7 @@ def SplitLibs(lstring): def CheckForQtAt(context, qtdir): context.Message('Checking for Qt at %s... ' % qtdir) result = AttemptLinkWithVariables(context, - { "LIBS": "qt-mt", "LIBPATH": qtdir + '/lib', "CPPPATH": qtdir + '/include' }, + { "LIBS": "qt-mt", "LIBPATH": qtdir + '/lib', "CPPPATH": qtdir + '/include', "LINKFLAGS": os.environ.get("PTHREAD_LDFLAGS","").split() + os.environ.get("PTHREAD_LIBS", "").split()}, """ #include int main(int argc, char **argv) {