diff options
author | Matt Turner <[email protected]> | 2012-10-01 13:00:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-10-03 13:46:03 -0700 |
commit | 89e76252ca3fd015544f76d0f528babe9c723938 (patch) | |
tree | 516666b56a29f94d662ee04e0c430b119ad5cf11 /src/mesa | |
parent | f2b4f588f5a5b656843b720f59b8cd6ce573ac93 (diff) |
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 <[email protected]>
Tested-by: Jordan Justen <[email protected]>
(cherry picked from commit 31ab61cac10bf75210134b6d8a354ac3cbd3b4da)
Conflicts:
src/mesa/drivers/dri/i965/Makefile.am
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i915/Makefile.am | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.am | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/nouveau/Makefile.am | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/Makefile.am | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/Makefile.am | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i915/Makefile.am b/src/mesa/drivers/dri/i915/Makefile.am index 7ec4c223149..cbdcf84c995 100644 --- a/src/mesa/drivers/dri/i915/Makefile.am +++ b/src/mesa/drivers/dri/i915/Makefile.am @@ -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. diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index c1526aef835..c9ea1c349c0 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -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. diff --git a/src/mesa/drivers/dri/nouveau/Makefile.am b/src/mesa/drivers/dri/nouveau/Makefile.am index 82d3804f838..4589b0575a9 100644 --- a/src/mesa/drivers/dri/nouveau/Makefile.am +++ b/src/mesa/drivers/dri/nouveau/Makefile.am @@ -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. diff --git a/src/mesa/drivers/dri/r200/Makefile.am b/src/mesa/drivers/dri/r200/Makefile.am index 5ec53de7d3d..8920ab020a4 100644 --- a/src/mesa/drivers/dri/r200/Makefile.am +++ b/src/mesa/drivers/dri/r200/Makefile.am @@ -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. diff --git a/src/mesa/drivers/dri/radeon/Makefile.am b/src/mesa/drivers/dri/radeon/Makefile.am index ec2d42e1e01..36b852e7c18 100644 --- a/src/mesa/drivers/dri/radeon/Makefile.am +++ b/src/mesa/drivers/dri/radeon/Makefile.am @@ -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. |