can_peak_linux link sequence modifed, thx to chenxi
authorEdouard Tisserant
Wed, 06 Mar 2013 11:39:35 +0900
changeset 772 7cb6e71d6331
parent 771 4c74be252095
child 773 c10def4bfbde
can_peak_linux link sequence modifed, thx to chenxi
drivers/can_peak_linux/Makefile.in
--- a/drivers/can_peak_linux/Makefile.in	Wed Mar 06 11:32:27 2013 +0900
+++ b/drivers/can_peak_linux/Makefile.in	Wed Mar 06 11:39:35 2013 +0900
@@ -53,7 +53,7 @@
 	$(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $<
 
 libcanfestival_$(CAN_DRIVER).so: $(OBJS)
-	$(CC) -shared -Wl,-soname,libcanfestival_$(CAN_DRIVER).so $(CAN_DLL_CFLAGS) -o $@ $<
+	$(CC) -shared -Wl,-soname,libcanfestival_$(CAN_DRIVER).so -o $@ $< $(CAN_DLL_CFLAGS)
 
 install: libcanfestival_$(CAN_DRIVER).so
 	mkdir -p $(PREFIX)/lib/