OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | OpenWrt links the libressl statically against mkimage, make sure all the |
1 | OpenWrt links the libressl statically against mkimage, make sure all the |
|
2 | needed dependencies are added too. |
2 | needed dependencies are added too. |
|
Line 3... | Line 3... | |||
3 | |
3 | |
|
4 | --- a/tools/Makefile |
4 | --- a/tools/Makefile |
|
5 | +++ b/tools/Makefile |
5 | +++ b/tools/Makefile |
|
6 | @@ -146,7 +146,7 @@ endif |
6 | @@ -128,7 +128,7 @@ endif |
|
7 | # MXSImage needs LibSSL |
7 | # MXSImage needs LibSSL |
|
8 | ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),) |
8 | ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),) |
|
9 | HOSTLOADLIBES_mkimage += \ |
9 | HOSTLOADLIBES_mkimage += \ |
|
10 | - $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") |
10 | - $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") |
|
Line 11... | Line 11... | |||
11 | + $(shell pkg-config --libs --static libssl libcrypto 2> /dev/null || echo "-lssl -lpthread -lcrypto") |
11 | + $(shell pkg-config --libs --static libssl libcrypto 2> /dev/null || echo "-lssl -lpthread -lcrypto") |