Author: tack
Date: Tue Dec 26 14:31:46 2006
New Revision: 2287
Modified:
trunk/base/src/distribution/core.py
Log:
Library.compile() should add include and library paths for that library.
Modified: trunk/base/src/distribution/core.py
==============================================================================
--- trunk/base/src/distribution/core.py (original)
+++ trunk/base/src/distribution/core.py Tue Dec 26 14:31:46 2006
@@ -180,7 +180,9 @@
def compile(self, includes, code='', args=''):
- if compile(includes, code, args):
+ ext_args = [ "-L%s" % x for x in self.library_dirs ]
+ ext_args += [ "-I%s" % x for x in self.include_dirs ]
+ if compile(includes, code, args + ' %s' % ' '.join(ext_args)):
self.valid = True
return True
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog