From: Emil Velikov Date: Thu, 19 Nov 2015 15:36:03 +0000 (+0000) Subject: automake: loader: don't create an empty dri3 helper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7157085140a502a182ff0e23d30bd8e421212c42;p=mesa.git automake: loader: don't create an empty dri3 helper Seems that creating an empty one does not fair too well with MacOSX's ar. Considering that all the users of the helper include it only when needed, let's reshuffle the makefile. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92985 Signed-off-by: Emil Velikov Tested-by: Vinson Lee Tested-by: Kai Wasserbäch Reviewed-by: Kristian Høgsberg Reviewed-by: Matt Turner --- diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am index 5daa42edd41..5021120c96d 100644 --- a/src/loader/Makefile.am +++ b/src/loader/Makefile.am @@ -23,7 +23,7 @@ include Makefile.sources EXTRA_DIST = SConscript -noinst_LTLIBRARIES = libloader.la libloader_dri3_helper.la +noinst_LTLIBRARIES = libloader.la AM_CPPFLAGS = \ $(DEFINES) \ @@ -57,6 +57,8 @@ libloader_la_LIBADD += \ endif if HAVE_DRI3 +noinst_LTLIBRARIES += libloader_dri3_helper.la + libloader_dri3_helper_la_SOURCES = \ loader_dri3_helper.c \ loader_dri3_helper.h