equal
deleted
inserted
replaced
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 |