changed: #makeWithOutputTo:errorTo:
authorStefan Vogel <sv@exept.de>
Wed, 22 Jun 2011 14:29:39 +0200
changeset 2845 0d52c66fbc8e
parent 2844 5e4e46856d8d
child 2846 9d025aa9921a
changed: #makeWithOutputTo:errorTo:
ProjectBuilder.st
--- a/ProjectBuilder.st	Wed Jun 22 14:16:09 2011 +0200
+++ b/ProjectBuilder.st	Wed Jun 22 14:29:39 2011 +0200
@@ -635,10 +635,11 @@
     usedCompiler = 'vc' ifTrue:[ makeCommand := 'vcmake'. compilerFlag := '-DUSEVC' ].
     usedCompiler = 'lcc' ifTrue:[ makeCommand := 'lcmake'. compilerFlag := '-DUSELCC' ].
     usedCompiler = 'gcc' ifTrue:[ makeCommand := 'make'. ].
+    makeCommand := makeCommand, ' TOP=', mySTXTopDirectory pathName.
 
     OperatingSystem isUNIXlike ifTrue:[
         OperatingSystem
-            executeCommand:'sh ../../stx/rules/stmkmf'
+            executeCommand:('sh %1/rules/stmkmf' bindWith:mySTXTopDirectory pathName)
             inputFrom:nil
             outputTo:stdOut
             errorTo:stdErr