[PATCH xdm] Re-introduce the ability of staticcally linking the greeter.
Rémi Cardona
remi at gentoo.org
Mon Nov 7 12:38:26 PST 2011
Le 07/11/2011 20:57, Matthieu Herrb a écrit :
> +if test "x$DYNAMIC_GREETER" = "xno"; then
> +STATIC_GREETER_CFLAGS="-DGREET_USER_STATIC"
> +STATIC_GREETER_LIBS="-L../greeter -lXdmGreet"
> +fi
> +
> +AC_MSG_RESULT([$DYNAMIC_GREETER])
> +AM_CONDITIONAL(DYNAMIC_GREETER, test x$DYNAMIC_GREETER = xyes)
> +
> PKG_CHECK_MODULES(XDMGREET, xt>= 1.0 x11 xext)
You probably need to do:
XDMGREET_LIBS=`$PKG_CONFIG --libs --static xt>= 1.0 x11 xext`
(maybe --cflags too). Otherwise you may miss libraries that are only in
Required.private in the above pkg-config files.
Cheers,
Rémi
More information about the xorg-devel
mailing list