summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-01-28 11:33:34 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-02-04 13:22:50 +0000
commit31badf031c90aba4609e1464e252311f96733a5e (patch)
tree182e715dd8e3ba3b2e0594f82cb337d085ec61f7
parent87b3bf643de35223d9d038febc7d5e232325e7b2 (diff)
radeon: add libdrm to Requires.private
Equivalent to the amdgpu commit before. Additionally, when libdrm is installed to a 'non-default' location, users of libdrm_radeon will fail to build, as radeon_cs.h (and maybe others) won't have their dependencies (drm.h radeon_drm.h) fulfilled. Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r--radeon/libdrm_radeon.pc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/radeon/libdrm_radeon.pc.in b/radeon/libdrm_radeon.pc.in
index 68ef0ab14528..432993a376a8 100644
--- a/radeon/libdrm_radeon.pc.in
+++ b/radeon/libdrm_radeon.pc.in
@@ -8,3 +8,4 @@ Description: Userspace interface to kernel DRM services for radeon
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -ldrm_radeon
Cflags: -I${includedir} -I${includedir}/libdrm
+Requires.private: libdrm