fixed static link of can driver
authorEdouard Tisserant
Fri, 27 Nov 2015 16:27:46 +0100
changeset 795 8dc7a42d38b1
parent 794 8bfe0ac00cdb
child 796 1c87f7a8cb8a
fixed static link of can driver
drivers/unix/Makefile.in
--- a/drivers/unix/Makefile.in	Mon Aug 03 18:01:58 2015 +0200
+++ b/drivers/unix/Makefile.in	Fri Nov 27 16:27:46 2015 +0100
@@ -98,6 +98,10 @@
 #../$(CAN_DRIVER)/$(CAN_DRIVER).o:
 #	$(MAKE) -C ../$(CAN_DRIVER) driver
 
+ifneq ($(ENABLE_DLL_DRIVERS),1)
+OBJS += ../$(CAN_DRIVER)/$(CAN_DRIVER).o
+endif
+
 libcanfestival_$(TARGET).a: $(OBJS)
 	@echo Building [libcanfestival_$(TARGET).a]
 	$(BINUTILS_PREFIX)ar rc $@ $(OBJS)