You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Cargo.toml is used the features of dependencies to control how to ssl of the paho-mqtt package will be built (paho_mqtt_vendored_ssl and paho_mqtt_bindgen_ss features). For more details see Cargo book, feature
A build parameters in the Make file controls how to ssl layer will be built for paho_mqtt package. Simplified building logics is described in examples below:
Cargo will build paho_mqtt with following fetures: paho-mqtt = { version = "0.12", features = ["ssl","build_bindgen"] } by using default features of the Cargo.toml file.
Add x86_64-unknown-linux-musl build target
Will be done as follows. At first clone this repository.
Copy the following lines to the
add_cross-compile-target_x86_64.patch
file (should be in the UTF-8 format).Patch repository
And next, patch the chirpstack-mqtt-forwarder repository.
The command may display warnings. don't panic...
...It's OK.
Build
Optional command
$ docker system prune -a
cleans all unused images from docker repository. You been warned.Changes shortly
x86_64-unknown-linux-musl
build instructions[target.x86_64-unknown-linux-musl]
[target.x86_64-unknown-linux-musl]
compilation flagsIn the Cargo.toml is used the features of dependencies to control how to ssl of the paho-mqtt package will be built (
paho_mqtt_vendored_ssl
andpaho_mqtt_bindgen_ss features
).For more details see Cargo book, feature
A build parameters in the Make file controls how to ssl layer will be built for paho_mqtt package. Simplified building logics is described in examples below:
Makefile:
Cargo will build paho_mqtt with following fetures:
paho-mqtt = { version = "0.12", features = ["ssl","build_bindgen"] }
by using default features of the Cargo.toml file.Cargo will build paho_mqtt with following features:
paho-mqtt = { version = "0.12", features = ["ssl","vendored-ssl"] }
Hints:
Let's do IoT better
The text was updated successfully, but these errors were encountered: