configure
changeset 351 fb106ad03770
parent 343 118c1cabd0b0
child 354 396ac66670ad
--- a/configure	Tue Jan 08 11:06:50 2008 +0100
+++ b/configure	Thu Jan 10 16:12:45 2008 +0100
@@ -562,7 +562,12 @@
 	SUB_ENABLE_DLL_DRIVERS=0
 else
 	SUB_ENABLE_DLL_DRIVERS=1
-	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -ldl
+	if [ "$SUB_OS_NAME" = "MINGW32" ]; then
+		SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS
+	else
+		SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -ldl
+	fi
+	
 fi