h_win32.rc
changeset 1302 257bd1bb74f2
parent 1301 ac987c5eaab3
child 1303 b24bddd15722
--- a/h_win32.rc	Wed Feb 20 15:56:30 2013 +0100
+++ b/h_win32.rc	Thu Feb 21 15:14:55 2013 +0100
@@ -173,11 +173,12 @@
 		ccCommand := (mingw64Path / 'gcc') pathName.
 		linkCommand := (mingw64Path / 'gcc') pathName.
 		ccCompilationOptions := ''.
-		searchedLibraries := #('import32.lib' 'odbc32.lib' 'glu32.lib' 'opengl32.lib').
+		searchedLibraries := #('-lodbc32' '-lglu32' '-lopengl32').
 
-		libs := #(
-			'-L..\..\lib\mingw'
-			).
+		libs := {
+			    '-L..\..\lib\mingw' .
+			    ( '-L',(mingw64Path / '..' / 'lib') pathName ) .
+			}.
 		libs := libs asStringWith:Character space.
 		linkArgs := (libs).
 		incl := incl asStringWith:Character space.
@@ -191,11 +192,12 @@
 		ccCommand := (mingw32Path / 'gcc') pathName.
 		linkCommand := (mingw32Path / 'gcc') pathName.
 		ccCompilationOptions := ''.
-		searchedLibraries := #('import32.lib' 'odbc32.lib' 'glu32.lib' 'opengl32.lib').
+		searchedLibraries := #('-lodbc32' '-lglu32' '-lopengl32').
 
-		libs := #(
-			'-L..\..\lib\mingw'
-			).
+		libs := {
+			    '-L..\..\lib\mingw' .
+			    ( '-L',(mingw64Path / '..' / 'lib') pathName ) .
+			}.
 		libs := libs asStringWith:Character space.
 		linkArgs := (libs).
 		incl := incl asStringWith:Character space.