mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02: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>
This commit is contained in:
parent
551c991606
commit
31ab61cac1
5 changed files with 10 additions and 10 deletions
|
|
@ -52,9 +52,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.
|
||||
|
|
|
|||
|
|
@ -55,9 +55,9 @@ libi965_dri_la_SOURCES = \
|
|||
# list of libs to be linked against by i965_dri.so and i965 test programs.
|
||||
COMMON_LIBS = \
|
||||
libi965_dri.la \
|
||||
../common/libdricommon.la \
|
||||
$(DRI_LIB_DEPS) \
|
||||
$(INTEL_LIBS) \
|
||||
../common/libdricommon.la
|
||||
$(INTEL_LIBS)
|
||||
|
||||
TEST_LIBS = \
|
||||
$(COMMON_LIBS) \
|
||||
|
|
|
|||
|
|
@ -48,9 +48,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.
|
||||
|
|
|
|||
|
|
@ -50,9 +50,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.
|
||||
|
|
|
|||
|
|
@ -50,9 +50,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