dri/common: LIBDRM_LIBS is not a linker/libtool flag, add it to LIBADD
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 00:19:16 +0000 (00:19 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 31 Mar 2014 11:21:42 +0000 (12:21 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/common/Makefile.am

index e500bdb30383e51af20a7affb0abd72edf3c58db..c98ccf7b8f122cf7ca359ea3fd39c23be30c511d 100644 (file)
@@ -48,7 +48,7 @@ sysconf_DATA = drirc
 
 if DRICOMMON_NEED_LIBDRM
 AM_CFLAGS += $(LIBDRM_CFLAGS)
-libdricommon_la_LDFLAGS = $(LIBDRM_LIBS)
+libdricommon_la_LIBADD = $(LIBDRM_LIBS)
 else
 AM_CFLAGS += -D__NOT_HAVE_DRM_H
 endif