[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 1/2] Fix build when selinux pkg-config is not available



Hi!

On Sun, 2009-10-25 at 22:40:26 +0100, Tollef Fog Heen wrote:
> ]] Felipe Contreras 
> 
> | -		 if test "x$with_selinux" = "xstatic"; then
> | -			dpkg_selinux_libs="-Wl,-Bstatic "$(pkg-config --static --libs libselinux)" -Wl,-Bdynamic"
> | +		 if test $(pkg-config --exists libselinux); then
> 
> This makes it impossible to override the location of pkg-config by
> setting PKG_CONFIG.  Please use the PKG_CHECK_MODULES macro (or at least
> the PKG_PROG_PKG_CONFIG macro and then call $PKG_CONFIG yourself).
> 
> (Yes, I know that the old code has the same problem.)

Ah, right, my fault, fixed it now, thanks!

regards,
guillem


Reply to: