Fix LD variable for unix target in configure
authorgreg
Fri, 14 Dec 2007 16:32:38 +0100
changeset 342 66f007300c10
parent 341 7ff01f109bbc
child 343 118c1cabd0b0
Fix LD variable for unix target in configure
configure
--- a/configure	Mon Dec 10 23:23:19 2007 +0100
+++ b/configure	Fri Dec 14 16:32:38 2007 +0100
@@ -309,6 +309,10 @@
 		SUB_PROG_CFLAGS="-mno-cygwin"
 fi	
 
+if [ "$SUB_TARGET" = "unix" ]; then
+		LD=gcc
+fi
+	
 #### CAN_DRIVER ####
 
 if [ "$SUB_CAN_DRIVER" = "peak_linux" ]; then