curl-library
Re: problem with cross-compile configure --with-librtmp
Date: Mon, 23 Apr 2012 00:58:35 +0200
Hi Vincent,
Am 23.04.2012 00:20, schrieb Vincent Torri:
> use Requires.private if pkg-config is sufficiently recent. We do this:
>
> in configure.ac:
>
> if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
> pkgconfig_requires_private="Requires.private"
> else
> pkgconfig_requires_private="Requires"
> fi
> AC_SUBST(pkgconfig_requires_private)
>
> in the .pc.in file:
>
> @pkgconfig_requires_private@: @requirement@
>
> (where requirements is an AC_SUBST'ed variable containing the needed
> dependencies)
I had already committed a fix to libssh2-git before I got your mail:
http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=04692445d4a32430610ccf8c256e18245cbb3e06;js=1
can you please explain why we should prefer Requires.private over
Requires? Whats the difference/benefit?
Anyway, are you also subscribed to libssh2 list?
If so we should add the discussion there too - I will shortly post there
about my commit + your suggestion ...
BTW. we also have not yet 'Requires:' with libcurl.pc ...
thanks, Gün.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-23