Permalink
Browse files

No need to link against -lMali

The driver does not use any symbols from libMali, so it should have never
been linked in before. Not linking against it allows building a fully FOSS
stack for having a (somewhat) accelerated Xorg.

Note that this patch instead links directly against pixman-1, which was being
picked up indirectly through Mali before.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  • Loading branch information...
1 parent 3188b68 commit 762d8454614b8eb8d4cd4692e123e8fcbde6c0f2 @jwrdegoede jwrdegoede committed with amery Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Makefile.am
View
@@ -9,7 +9,7 @@
MALI_DDK="/work/trunk"
mali_drv_la_LTLIBRARIES = mali_drv.la
-mali_drv_la_LDFLAGS = -module -avoid-version -L$(MALI_DDK)/lib -lMali -lUMP -lpthread
+mali_drv_la_LDFLAGS = -module -avoid-version -L$(MALI_DDK)/lib -lpixman-1 -lUMP -lpthread
mali_drv_ladir = @moduledir@/drivers
AM_CFLAGS = @XORG_CFLAGS@ \

0 comments on commit 762d845

Please sign in to comment.