mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
hw/xfree86: Link libdri3 only when DRI3 is defined
Don't attempt to link non-existant libraries... Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
@@ -9,6 +9,11 @@ DRI2_SUBDIR = dri2
|
||||
DRI2_LIB = dri2/libdri2.la
|
||||
endif
|
||||
|
||||
if DRI3
|
||||
DRI3_BUILDDIR = $(top_builddir)/dri3
|
||||
DRI3_LIB = $(DRI3_BUILDDIR)/libdri3.la
|
||||
endif
|
||||
|
||||
if XF86UTILS
|
||||
XF86UTILS_SUBDIR = utils
|
||||
endif
|
||||
@@ -59,7 +64,7 @@ LOCAL_LIBS = \
|
||||
dixmods/libxorgxkb.la \
|
||||
$(DRI_LIB) \
|
||||
$(DRI2_LIB) \
|
||||
$(top_builddir)/dri3/libdri3.la \
|
||||
$(DRI3_LIB) \
|
||||
$(top_builddir)/miext/sync/libsync.la \
|
||||
$(top_builddir)/mi/libmi.la \
|
||||
$(top_builddir)/os/libos.la
|
||||
|
||||
Reference in New Issue
Block a user