--- a/ProjectBuilder.st Mon Mar 11 20:07:35 2013 +0100
+++ b/ProjectBuilder.st Mon Mar 11 20:20:35 2013 +0100
@@ -634,7 +634,22 @@
(mySTXTopDirectory / relativePath) copyTo:(buildDirectory / 'stx' / relativePath).
]
] ifFalse:[
- self error:'Missing file: ',relativePath printString mayProceed:true.
+"/ does not really help: objbc/librun.lib does not work with MSVC and vice versa...
+"/ ((relativePath = 'librun/objvc/librun.dll')
+"/ and:[ (mySTXTopDirectory / 'librun/objbc/librun.dll') exists ])ifTrue:[
+"/ stdErr nextPutLine:('Warning: using alternative librun from objbc (Borland version)...').
+"/ (buildDirectory / 'stx' / relativePath) directory recursiveMakeDirectory.
+"/ (mySTXTopDirectory / 'librun/objbc/librun.dll') copyTo:(buildDirectory / 'stx' / relativePath).
+"/ ] ifFalse:[
+"/ ((relativePath = 'librun/objbc/librun.dll')
+"/ and:[ (mySTXTopDirectory / 'librun/objvc/librun.dll') exists ])ifTrue:[
+"/ stdErr nextPutLine:('Warning: using alternative librun from objvc (MSVC version)...').
+"/ (buildDirectory / 'stx' / relativePath) directory recursiveMakeDirectory.
+"/ (mySTXTopDirectory / 'librun/objvc/librun.dll') copyTo:(buildDirectory / 'stx' / relativePath).
+"/ ] ifFalse:[
+ self error:'Missing file: ',relativePath printString mayProceed:true.
+"/ ]
+"/ ]
].
].