beremiz

MQTT: (WIP) Fix OpenSSL linking.

23 months ago, Edouard Tisserant
d0c5d77a33af
Parents 883a85b9ebcc
Children 98bd0bb33ce4
MQTT: (WIP) Fix OpenSSL linking.
--- 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])