Author: hpoussin
Date: Thu Oct 11 14:18:03 2007
New Revision: 29494
URL:
http://svn.reactos.org/svn/reactos?rev=29494&view=rev
Log:
Do not change dependancy root directory if not needed
Modified:
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp (original)
+++ trunk/reactos/tools/rbuild/module.cpp Thu Oct 11 14:18:03 2007
@@ -1234,7 +1234,7 @@
Module::SetImportLibrary ( ImportLibrary* importLibrary )
{
this->importLibrary = importLibrary;
- dependency = new FileLocation ( IntermediateDirectory,
+ dependency = new FileLocation ( HasImportLibrary () ? IntermediateDirectory :
output->directory,
output->relative_path,
HasImportLibrary () ? "lib" + name +
".a" : output->name );
}