canfestival/canfestival.py
changeset 1279 0eb9f8af479f
parent 1063 9b5995303db1
child 1464 2b4a0d87becb
equal deleted inserted replaced
1278:74afc7e86d00 1279:0eb9f8af479f
   461         if can_driver is not None:
   461         if can_driver is not None:
   462             can_drivers = local_canfestival_config.DLL_LIST
   462             can_drivers = local_canfestival_config.DLL_LIST
   463             if can_driver not in can_drivers :
   463             if can_driver not in can_drivers :
   464                 can_driver = can_drivers[0]
   464                 can_driver = can_drivers[0]
   465             can_drv_ext = self.GetCTRoot().GetBuilder().extension
   465             can_drv_ext = self.GetCTRoot().GetBuilder().extension
   466             can_driver_name = "libcanfestival_" + can_driver + can_drv_ext
   466             can_drv_prefix = self.GetCTRoot().GetBuilder().dlopen_prefix
       
   467             can_driver_name = can_drv_prefix + "libcanfestival_" + can_driver + can_drv_ext
   467         else:
   468         else:
   468             can_driver_name = ""
   469             can_driver_name = ""
   469 
   470 
   470         
   471         
   471         format_dict = {"locstr" : "_".join(map(str,self.GetCurrentLocation())),
   472         format_dict = {"locstr" : "_".join(map(str,self.GetCurrentLocation())),