# HG changeset patch # User Edouard Tisserant # Date 1663160113 -7200 # Node ID 2c041d3d6ee355043f295e1235bc8ef53e56aa0c # Parent 06c6b9fd88b8a1c22170dc176c61cbcfb67ce57a OPC-UA: fix LDFLAG, missing OpenSSL's -lcrypto open62541 is linked staticaly, therefore shared object dependencies have to be given explicitely. diff -r 06c6b9fd88b8 -r 2c041d3d6ee3 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])