beremiz
Clone
Summary
Browse
Changes
Graph
OPC-UA: fix LDFLAG, missing OpenSSL's -lcrypto
wxPython4
2022-09-14, Edouard Tisserant
2c041d3d6ee3
Parents
06c6b9fd88b8
Children
428fb2472f43
OPC-UA: fix LDFLAG, missing OpenSSL's -lcrypto
open62541 is linked staticaly, therefore shared object dependencies have to be given explicitely.
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
opc_ua/client.py
--- a/opc_ua/client.py Tue Sep 13 17:52:29 2022 +0200
+++ b/opc_ua/client.py Wed Sep 14 14:55:13 2022 +0200
@@ -135,7 +135,7 @@
with open(c_path, 'wb') as c_file:
c_file.write(c_code)
- LDFLAGS = [' "' + os.path.join(Open62541LibraryPath, "libopen62541.a") + '"']
+ LDFLAGS = ['"' + os.path.join(Open62541LibraryPath, "libopen62541.a") + '"', '-lcrypto']
CFLAGS = ' '.join(['-I"' + path + '"' for path in Open62541IncludePaths])