• Ting-Wei Lan's avatar
    build-sys: Workaround missing openssl.pc for FreeBSD · 03d3ea2f
    Ting-Wei Lan authored
    FreeBSD has OpenSSL installed in base, but .pc files are not available.
    We can still successfully build spice-gtk by setting SSL_CFLAGS and
    SSL_LIBS variables manually, but openssl will still be recorded to
    Requires.private field of spice-client-glib-2.0.pc, causing problems for
    applications using spice-gtk. To workaround the issue, we do the check
    again without using SSL_CFLAGS and SSL_LIBS variables and put SSL_LIBS
    into Libs.private field when openssl.pc cannot be found.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=104524
    03d3ea2f
spice-client-glib-2.0.pc.in 359 Bytes