From: Emil Velikov Date: Tue, 11 Mar 2014 00:19:16 +0000 (+0000) Subject: dri/common: LIBDRM_LIBS is not a linker/libtool flag, add it to LIBADD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5466b7b9349999ea113f1b6805109b043ad8259;p=mesa.git dri/common: LIBDRM_LIBS is not a linker/libtool flag, add it to LIBADD Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/common/Makefile.am b/src/mesa/drivers/dri/common/Makefile.am index e500bdb3038..c98ccf7b8f1 100644 --- a/src/mesa/drivers/dri/common/Makefile.am +++ b/src/mesa/drivers/dri/common/Makefile.am @@ -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