Path may contain spaces... sequel of d1359cb
authorEdouard Tisserant
Fri, 09 Nov 2018 13:26:06 +0100
changeset 2333 81abf93b4684
parent 2332 03a94f862465
child 2334 d1470c052662
Path may contain spaces... sequel of d1359cb
modbus/modbus.py
--- a/modbus/modbus.py	Thu Nov 08 14:33:35 2018 +0100
+++ b/modbus/modbus.py	Fri Nov 09 13:26:06 2018 +0100
@@ -788,7 +788,7 @@
 
         LDFLAGS = []
         LDFLAGS.append(" \"-L" + ModbusPath + "\"")
-        LDFLAGS.append(os.path.join(ModbusPath, "libmb.a"))
+        LDFLAGS.append(" \"" + os.path.join(ModbusPath, "libmb.a") + "\"")
         LDFLAGS.append(" \"-Wl,-rpath," + ModbusPath + "\"")
         # LDFLAGS.append("\"" + os.path.join(ModbusPath, "mb_slave_and_master.o") + "\"")
         # LDFLAGS.append("\"" + os.path.join(ModbusPath, "mb_slave.o") + "\"")