# HG changeset patch # User Edouard Tisserant # Date 1720602605 -7200 # Node ID d0c5d77a33af19ac2e49a613d72f7a5e35337a25 # Parent 883a85b9ebcca3d3e5867b935d285f404d24d8ec MQTT: (WIP) Fix OpenSSL linking. diff -r 883a85b9ebcc -r d0c5d77a33af mqtt/client.py --- a/mqtt/client.py Tue Jul 09 11:46:19 2024 +0200 +++ b/mqtt/client.py Wed Jul 10 11:10:05 2024 +0200 @@ -122,7 +122,7 @@ with open(c_path, 'w') as c_file: c_file.write(c_code) - LDFLAGS = [' "' + os.path.join(PahoMqttCLibraryPath, "libpaho-mqtt3as.a") + '"', '-lcrypto'] + LDFLAGS = [' "' + os.path.join(PahoMqttCLibraryPath, "libpaho-mqtt3cs.a") + '"', '-lssl', '-lcrypto'] CFLAGS = ' '.join(['-I"' + path + '"' for path in PahoMqttCIncludePaths])