amdgpu: add libdrm as private requirement/dependency
PATCH 1/3 amdgpu: add libdrm as private requirement/dependency
Otherwise libdrm.so won't end up in the --libs, when one static links libdrm_amdgpu.
Cc Michel Dänzer <[email protected]>
Cc Christian König <[email protected]>
Signed-off-by Emil Velikov <[email protected]>
--- amdgpu/libdrm_amdgpu.pc.in | 1 + 1 file changed, 1 insertion(+)
amdgpu/libdrm_amdgpu.pc.in +1 -0
@@ -8,3 +8,4 @@ Description: Userspace interface to kernel DRM services for amdgpu Version: @PACKAGE_VERSION@ Libs: -L${libdir} -ldrm_amdgpu Cflags: -I${includedir} -I${includedir}/libdrm +Requires.private: libdrm
Signature · 6 lines
2.6.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/3 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 Michel Dänzer <[email protected]>
Cc Christian König <[email protected]>
Signed-off-by Emil Velikov <[email protected]>
--- radeon/libdrm_radeon.pc.in | 1 + 1 file changed, 1 insertion(+)
radeon/libdrm_radeon.pc.in +1 -0
@@ -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
Signature · 6 lines
2.6.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 3/3 libkms: add libdrm to Requires.private
In reply to Emil VelikovAnalogous to last two changes (amdgpu and radeon).
Cc Jakob Bornecrantz <[email protected]>
Signed-off-by Emil Velikov <[email protected]>
--- libkms/libkms.pc.in | 1 + 1 file changed, 1 insertion(+)
libkms/libkms.pc.in +1 -0
@@ -8,3 +8,4 @@ Description: Library that abstract aways the different mm interface for kernel d Version: 1.0.0 Libs: -L${libdir} -lkms Cflags: -I${includedir}/libkms +Requires.private: libdrm
Signature · 6 lines
2.6.2 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Emil Velikov
Otherwise libdrm.so won't end up in the --libs, when one static links
libdrm_amdgpu.Cc Michel Dänzer <[email protected]>Cc Christian König <[email protected]>Signed-off-by Emil Velikov <[email protected]>
This series is
Reviewed-by Michel Dänzer <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel