Getting openssl-1.0 to be used instead of openssl-1.1 when compiling seafile-client on Arch Linux

Trying to compile seafile-client on Arch Linux. Have compiled libsearpc, ccnet and seafile - but I’m failing on seafile-client since openssl-1.1 seems to be unsupported. The seafile-client code uses the deprecated DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void.

Trying to get the compiler to use the openssl-1.0 libs/includes etc. when running cmake, but with no success compiling - I still get the deprecation error.

Anyone having ideas how to get the compiler to use correct libraries?

Regards,

Rasmus

Maybe see how the AUR build does it? I just rebuilt using it and it seems to work fine. It doesn’t declare an openssl-1.0 dependency directly, but i see that qt5-base does, which seafile-client then depends on.

https://aur.archlinux.org/packages/seafile-client/