summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2012-07-20 10:26:11 -0500
committerRob Clark <rob@ti.com>2012-07-20 10:28:46 -0500
commitfaf26b689d4a2a6d1e851a1ea2fd657406eebfff (patch)
tree15886c6bc71c3809ae2a1631790060387c50bb9c
parentff65de96660965e661175f75427cd0020ef1104c (diff)
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 <rob@ti.com>
-rw-r--r--intel/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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