mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 09:10:16 +01:00
dri drivers: Link dricommon before dynamic libraries
I think libtool should be handling this for us, but the build fails for
Jordan because libdricommon (a static library, which uses expat) appears
before -lexpat on the linker command.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Jordan Justen <jordan.l.justen@intel.com>
(cherry picked from commit 31ab61cac1)
Conflicts:
src/mesa/drivers/dri/i965/Makefile.am
This commit is contained in:
parent
f2b4f588f5
commit
89e76252ca
5 changed files with 10 additions and 10 deletions
|
|
@ -51,9 +51,9 @@ i915_dri_la_SOURCES = \
|
|||
|
||||
i915_dri_la_LDFLAGS = -module -avoid-version -shared
|
||||
i915_dri_la_LIBADD = \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(INTEL_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(INTEL_LIBS)
|
||||
|
||||
# Provide compatibility with scripts for the old Mesa build system for
|
||||
# a while by putting a link to the driver into /lib of the build tree.
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ i965_dri_la_SOURCES = \
|
|||
|
||||
i965_dri_la_LDFLAGS = -module -avoid-version -shared
|
||||
i965_dri_la_LIBADD = \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(INTEL_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(INTEL_LIBS)
|
||||
|
||||
# Provide compatibility with scripts for the old Mesa build system for
|
||||
# a while by putting a link to the driver into /lib of the build tree.
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ nouveau_vieux_dri_la_SOURCES = \
|
|||
|
||||
nouveau_vieux_dri_la_LDFLAGS = -module -avoid-version -shared
|
||||
nouveau_vieux_dri_la_LIBADD = \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(NOUVEAU_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(NOUVEAU_LIBS)
|
||||
|
||||
# Provide compatibility with scripts for the old Mesa build system for
|
||||
# a while by putting a link to the driver into /lib of the build tree.
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ r200_dri_la_SOURCES = \
|
|||
|
||||
r200_dri_la_LDFLAGS = -module -avoid-version -shared
|
||||
r200_dri_la_LIBADD = \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(RADEON_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(RADEON_LIBS)
|
||||
|
||||
# Provide compatibility with scripts for the old Mesa build system for
|
||||
# a while by putting a link to the driver into /lib of the build tree.
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ radeon_dri_la_SOURCES = \
|
|||
|
||||
radeon_dri_la_LDFLAGS = -module -avoid-version -shared
|
||||
radeon_dri_la_LIBADD = \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(RADEON_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(RADEON_LIBS)
|
||||
|
||||
# Provide compatibility with scripts for the old Mesa build system for
|
||||
# a while by putting a link to the driver into /lib of the build tree.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue