summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/Makefile
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2011-12-02 22:02:51 +0100
committerMarcin Slusarz <[email protected]>2011-12-13 21:06:29 +0100
commit10e931219f0619c01456dd13fea65b8c21f3b87b (patch)
tree8da9e29e0a91bc829cd370d8f933f72033f8e4e4 /src/gallium/drivers/nouveau/Makefile
parent642d11da207e9becfa26a9e038db1c7520ec2aee (diff)
nouveau: get rid of winsys object
Its only purpose was to destroy itself.
Diffstat (limited to 'src/gallium/drivers/nouveau/Makefile')
-rw-r--r--src/gallium/drivers/nouveau/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/Makefile b/src/gallium/drivers/nouveau/Makefile
index eb35c1f1d4e..d583324b021 100644
--- a/src/gallium/drivers/nouveau/Makefile
+++ b/src/gallium/drivers/nouveau/Makefile
@@ -7,6 +7,9 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
+LIBRARY_INCLUDES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-I)
+LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-other)
+
# get C_SOURCES
include Makefile.sources