summaryrefslogtreecommitdiff
path: root/src/loader/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2015-11-19 15:36:03 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-11-20 10:40:35 +0000
commit7157085140a502a182ff0e23d30bd8e421212c42 (patch)
tree21322059d0ab97c5dd0efb4c8562ede3ce214508 /src/loader/Makefile.am
parent115f1798525899c23249b09aa63113f84328186d (diff)
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 <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>
Diffstat (limited to 'src/loader/Makefile.am')
-rw-r--r--src/loader/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/loader/Makefile.am b/src/loader/Makefile.am
index 5daa42edd4..5021120c96 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