opc_ua/client.py
branchwxPython4
changeset 3611 2c041d3d6ee3
parent 3591 50600b946ea7
child 3612 428fb2472f43
equal deleted inserted replaced
3610:06c6b9fd88b8 3611:2c041d3d6ee3
   133         c_code = self.modeldata.GenerateC(c_path, locstr, self.GetConfig())
   133         c_code = self.modeldata.GenerateC(c_path, locstr, self.GetConfig())
   134 
   134 
   135         with open(c_path, 'wb') as c_file:
   135         with open(c_path, 'wb') as c_file:
   136             c_file.write(c_code)
   136             c_file.write(c_code)
   137 
   137 
   138         LDFLAGS = [' "' + os.path.join(Open62541LibraryPath, "libopen62541.a") + '"']
   138         LDFLAGS = ['"' + os.path.join(Open62541LibraryPath, "libopen62541.a") + '"', '-lcrypto']
   139 
   139 
   140         CFLAGS = ' '.join(['-I"' + path + '"' for path in Open62541IncludePaths])
   140         CFLAGS = ' '.join(['-I"' + path + '"' for path in Open62541IncludePaths])
   141 
   141 
   142         # Note: all user provided files are systematicaly copied, including cryptomaterial
   142         # Note: all user provided files are systematicaly copied, including cryptomaterial
   143 
   143