On 11/07/11 12:38, Rémi Cardona wrote:
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.
That shouldn't be needed - this is about making the greeter statically
linked into the xdm binary instead of being a dlopen'ed plugin module,
not about making it statically link with all the system/X11 libraries.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel