[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/bksys
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2006-02-09 9:50:59
Message-ID: 1139478659.052374.9616.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 507461 by habacker:

- fixed function detecting problem with mingw

 M  +4 -0      lowlevel.py  


--- trunk/KDE/kdelibs/bksys/lowlevel.py #507460:507461
@@ -137,6 +137,10 @@
 		env.AppendUnique(CPPPATH=[ '/usr/include','/usr/local/include' ])
 
 	conf = env.Configure()
+	
+	# for gcc the libraries must be located after the object files, otherwise they will not be found
+	if env['WINDOWS'] and env['CC'] == 'gcc':
+		conf.env['LINKCOM'] = '$LINK -o $TARGET $SOURCES $LINKFLAGS $_LIBDIRFLAGS $_LIBFLAGS'
 
 	content = ""
 	define_regex = re.compile("(\\.|\\/|\\\\)")
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic