summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-19 15:36:03 +0000
committerEmil Velikov <[email protected]>2015-11-20 10:40:35 +0000
commit7157085140a502a182ff0e23d30bd8e421212c42 (patch)
tree21322059d0ab97c5dd0efb4c8562ede3ce214508
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 <[email protected]> Tested-by: Vinson Lee <[email protected]> Tested-by: Kai Wasserbäch <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-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 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