From faf26b689d4a2a6d1e851a1ea2fd657406eebfff Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 20 Jul 2012 10:26:11 -0500 Subject: intel: fix build error CCLD test_decode ./.libs/libdrm_intel.so: undefined reference to `drmPrimeHandleToFD' ./.libs/libdrm_intel.so: undefined reference to `drmPrimeFDToHandle' collect2: ld returned 1 exit status From Adam Jackson's explaination: most distros have changed it so ld defaults to --no-copy-dt-needed-entries, so if you use something from libdrm you can't just assume libdrm_intel will bring it in for you, you have to be explicit Signed-off-by: Rob Clark --- intel/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intel/Makefile.am b/intel/Makefile.am index dc01a96d..f49b0998 100644 --- a/intel/Makefile.am +++ b/intel/Makefile.am @@ -77,6 +77,6 @@ EXTRA_DIST = \ $(BATCHES:.batch=.batch-ref.txt) \ tests/test-batch.sh -test_decode_LDADD = libdrm_intel.la +test_decode_LDADD = libdrm_intel.la ../libdrm.la pkgconfig_DATA = libdrm_intel.pc -- cgit v1.2.3