Path may contain spaces... sequel of d1359cb
--- 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") + "\"")