[PATCH nested] Add XORG_LIBS to LIBADD
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Mar 28 19:44:59 PDT 2012
On 03/27/12 10:16 PM, Yaakov (Cygwin/X) wrote:
> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
>
> This affects only Cygwin, where drivers must be linked against the
> Xorg implib. On other systems, XORG_LIBS will be empty.
>
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> ---
> src/Makefile.am | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 57f661d..fd60a31 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -24,7 +24,8 @@
> AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS) $(X11_CFLAGS) $(XEXT_CFLAGS)
>
> nested_drv_la_LTLIBRARIES = nested_drv.la
> -nested_drv_la_LDFLAGS = -module -avoid-version $(X11_LIBS) $(XEXT_LIBS)
> +nested_drv_la_LDFLAGS = -module -avoid-version
> +nested_drv_la_LIBADD = $(XORG_LIBS) $(X11_LIBS) $(XEXT_LIBS)
> nested_drv_ladir = @moduledir@/drivers
>
> nested_drv_la_SOURCES = driver.c nested_input.c nested_input.h xlibclient.c client.h
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list