automake: loader: don't create an empty dri3 helper
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 19 Nov 2015 15:36:03 +0000 (15:36 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Nov 2015 10:40:35 +0000 (10:40 +0000)
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 <emil.velikov@collabora.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/loader/Makefile.am

index 5daa42edd4134d06746f02cb3d0ef6d43cf74583..5021120c96db4608fc00ef6b6b9c99c7374b539c 100644 (file)
@@ -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