[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



]] 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.)

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


Reply to: