|
|
d64d53 |
From c7d56befef2111c82e6720643824b9a46ae36670 Mon Sep 17 00:00:00 2001
|
|
|
70130e |
From: Daniel Stone <daniel@fooishbar.org>
|
|
|
70130e |
Date: Wed, 7 Nov 2012 17:15:13 +1100
|
|
|
d64d53 |
Subject: [PATCH 18/38] XWayland: Don't hardcode DRM libs and -lwayland-client
|
|
|
70130e |
|
|
|
70130e |
Take -lwayland-client from configure.ac, and only use DRM if we've
|
|
|
70130e |
actually asked for it.
|
|
|
70130e |
|
|
|
70130e |
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
|
|
|
70130e |
---
|
|
|
70130e |
hw/xfree86/xwayland/Makefile.am | 8 +++++---
|
|
|
70130e |
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
|
70130e |
|
|
|
70130e |
diff --git a/hw/xfree86/xwayland/Makefile.am b/hw/xfree86/xwayland/Makefile.am
|
|
|
70130e |
index b739145..22ab154 100644
|
|
|
70130e |
--- a/hw/xfree86/xwayland/Makefile.am
|
|
|
70130e |
+++ b/hw/xfree86/xwayland/Makefile.am
|
|
|
70130e |
@@ -7,13 +7,13 @@ AM_CPPFLAGS = \
|
|
|
70130e |
-I$(srcdir)/../modes
|
|
|
70130e |
|
|
|
70130e |
libxwayland_la_LTLIBRARIES = libxwayland.la
|
|
|
70130e |
-libxwayland_la_CFLAGS = \
|
|
|
70130e |
+AM_CFLAGS = \
|
|
|
70130e |
-DHAVE_XORG_CONFIG_H \
|
|
|
70130e |
- @DIX_CFLAGS@ @XORG_CFLAGS@ @LIBDRM_CFLAGS@ \
|
|
|
70130e |
+ @DIX_CFLAGS@ @XORG_CFLAGS@ @XWAYLAND_CFLAGS@ \
|
|
|
70130e |
-I$(top_srcdir)/hw/xfree86/common \
|
|
|
70130e |
-I$(top_srcdir)/hw/xfree86/os-support/bus
|
|
|
70130e |
|
|
|
70130e |
-libxwayland_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@ -lwayland-client
|
|
|
70130e |
+libxwayland_la_LDFLAGS = -module -avoid-version @XWAYLAND_LIBS@
|
|
|
70130e |
libxwayland_ladir = $(moduledir)/extensions
|
|
|
70130e |
libxwayland_la_SOURCES = \
|
|
|
70130e |
xwayland.c \
|
|
|
70130e |
@@ -28,6 +28,8 @@ libxwayland_la_SOURCES = \
|
|
|
70130e |
xserver-protocol.c
|
|
|
70130e |
|
|
|
70130e |
if DRM
|
|
|
70130e |
+AM_CFLAGS += @LIBDRM_CFLAGS@
|
|
|
70130e |
+libxwayland_la_LDFLAGS += @LIBDRM_LIBS@
|
|
|
70130e |
libxwayland_la_SOURCES += xwayland-drm.c
|
|
|
70130e |
endif
|
|
|
70130e |
|
|
|
70130e |
--
|
|
|
d64d53 |
1.8.4.2
|
|
|
70130e |
|