[Buildroot] [PATCH] package/sconeserver: fix static link with openssl
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun May 31 08:38:04 UTC 2015
Dear Yann E. MORIN,
On Sat, 30 May 2015 16:19:11 +0200, Yann E. MORIN wrote:
> When linking statically, the order of libraries on the linker command
> line is important, and sconeserver got it wrong.
>
> Also, isconeserver does not use pkg-config, so it misses the private
^^ typo
> libs of -lcrypto, which is linking with -lz.
>
> Fix that:
> - add a patch to configure.in to fix the order of libraries;
> - forcibly pass -lz when lkinking statically with openssl.
^^^ typo
Applied with those two typos fixed. It's really a pity that pkg-config
isn't more widely used :-/ If openssl grows another dependency, we
would have to fix this again...
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list