Closed tych0 closed 3 years ago
lxc only asks for -lcrypto (in both --static and dynamic modes):
~ pkg-config --static --libs lxc -L/usr/local/lib -llxc -lutil -lcap -lseccomp -lssl -lcrypto -lselinux
However, libcrypto wants some additional libraries in --static mode:
~ pkg-config --static --libs libcrypto -lcrypto -ldl -pthread ~ pkg-config --libs libcrypto -lcrypto
So let's add libcrypto's pkgconfig to the list of things we depend on for the static build.
Signed-off-by: Tycho Andersen tycho@tycho.pizza
lxc only asks for -lcrypto (in both --static and dynamic modes):
~ pkg-config --static --libs lxc -L/usr/local/lib -llxc -lutil -lcap -lseccomp -lssl -lcrypto -lselinux
However, libcrypto wants some additional libraries in --static mode:
~ pkg-config --static --libs libcrypto -lcrypto -ldl -pthread ~ pkg-config --libs libcrypto -lcrypto
So let's add libcrypto's pkgconfig to the list of things we depend on for the static build.
Signed-off-by: Tycho Andersen tycho@tycho.pizza