mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
radeon/llvm: Do not link against libgallium when building statically.
NOTE: This is a candidate for the 9.1 branch.
Tested-by: Vincent Lejeune <vljn@ovi.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
(cherry picked from commit 7c3d8301af)
This commit is contained in:
parent
4205bd4b9b
commit
725c671d61
1 changed files with 4 additions and 1 deletions
|
|
@ -1,11 +1,14 @@
|
|||
include Makefile.sources
|
||||
include $(top_srcdir)/src/gallium/Automake.inc
|
||||
|
||||
LIBGALLIUM_LIBS=
|
||||
|
||||
if HAVE_GALLIUM_R600
|
||||
if HAVE_GALLIUM_RADEONSI
|
||||
lib_LTLIBRARIES = libllvmradeon@VERSION@.la
|
||||
libllvmradeon@VERSION@_la_LDFLAGS = -Wl, -shared -avoid-version \
|
||||
$(LLVM_LDFLAGS)
|
||||
LIBGALLIUM_LIBS += $(top_builddir)/src/gallium/auxiliary/libgallium.la
|
||||
else
|
||||
noinst_LTLIBRARIES = libllvmradeon@VERSION@.la
|
||||
endif
|
||||
|
|
@ -26,6 +29,6 @@ libllvmradeon@VERSION@_la_SOURCES = \
|
|||
$(C_FILES)
|
||||
|
||||
libllvmradeon@VERSION@_la_LIBADD = \
|
||||
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
|
||||
$(LIBGALLIUM_LIBS) \
|
||||
$(CLOCK_LIB) \
|
||||
$(LLVM_LIBS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue