*** empty log message ***
authorsr
Mon, 17 Jun 2019 15:18:28 +0200
changeset 1595 4049d133aef2
parent 1594 3aa76efb2c47
child 1596 4ac5e290ee0e
*** empty log message ***
h_win32.rc
--- a/h_win32.rc	Wed Mar 27 23:35:00 2019 +0100
+++ b/h_win32.rc	Mon Jun 17 15:18:28 2019 +0200
@@ -158,10 +158,10 @@
 		    '-L..\..\lib\bc'
 		    ).
 
-	    incl := incl copyWith: ( '-I',(bccPath / 'include') pathName ).
-	    libs := libs copyWith: ( '-L',(bccPath  / 'lib') pathName ).
+	    incl := incl copyWith: ( '-I"',(bccPath / 'include') pathName, '"' ).
+	    libs := libs copyWith: ( '-L"',(bccPath  / 'lib') pathName, '"' ).
 	    (bccPath / 'lib' / 'psdk') exists ifTrue:[
-		libs := libs copyWith: ( '-L',(bccPath / 'lib' / 'psdk') pathName ).
+		libs := libs copyWith: ( '-L"',(bccPath / 'lib' / 'psdk') pathName, '"' ).
 	    ].
 	    ccCompilationOptions := '-w-'.
 	    searchedLibraries := #('import32.lib' 'odbc32.lib' 'glu32.lib' 'opengl32.lib').
@@ -209,7 +209,7 @@
 
 		libs := {
 			    '-L..\..\lib\mingw' .
-			    ( '-L',(mingw64Path / 'lib') pathName ) .
+			    ( '-L"',(mingw64Path / 'lib') pathName, '"' ) .
 			}.
 		libs := libs asStringWith:Character space.
 		linkArgs := (libs).
@@ -229,7 +229,7 @@
 
 		libs := {
 			    '-L..\..\lib\mingw' .
-			    ( '-L',(mingw32Path / 'lib') pathName ) .
+			    ( '-L"',(mingw32Path / 'lib') pathName, '"' ) .
 			}.
 		libs := libs asStringWith:Character space.
 		linkArgs := (libs).