From: Rob Clark Date: Fri, 20 Jul 2012 15:26:11 +0000 (-0500) Subject: intel: fix build error X-Git-Tag: accepted/2.0alpha-wayland/20121114.232726~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=faf26b689d4a2a6d1e851a1ea2fd657406eebfff;p=profile%2Fivi%2Flibdrm.git 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 --- diff --git a/intel/Makefile.am b/intel/Makefile.am index dc01a96..f49b099 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