dri drivers: Link dricommon before dynamic libraries
[mesa.git] / src / mesa / drivers / dri / radeon / Makefile.am
index 3980f925d4d50ca62c73b3b9785c7b28939b464f..f93dcf4cfc1dba9b5155778ba4010823a83d13ea 100644 (file)
@@ -50,9 +50,9 @@ radeon_dri_la_SOURCES = \
 
 radeon_dri_la_LDFLAGS = -module -avoid-version -shared
 radeon_dri_la_LIBADD = \
+       ../common/libdricommon.la \
        $(DRI_LIB_DEPS) \
-       $(RADEON_LIBS) \
-       ../common/libdricommon.la
+       $(RADEON_LIBS)
 
 # Provide compatibility with scripts for the old Mesa build system for
 # a while by putting a link to the driver into /lib of the build tree.