Dan Nicholson
6aaf9bdd41
configs: Fix linking with static libGL and --as-needed
...
Linking of the programs breaks when using a static libGL and the GNU ld
option --as-needed. This is because libXext is needed for the XShm
functions.
2007-12-07 11:49:40 -08:00
Dan Nicholson
c3b5adaa9a
configs: Always use -fPIC for shared libraries, never for static
...
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:
http://bugs.gentoo.org/show_bug.cgi?id=110840#c9
On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.
2007-10-31 14:19:20 -07:00
Dan Nicholson
162914675a
update APP_LIB_DEPS for static library configs (patch 3/3)
2007-10-29 09:05:13 -06:00
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
...
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
2006-07-13 02:50:27 +00:00
Brian Paul
cb32dcfa33
new configs, misc updates (Dan Schikore)
2006-04-13 02:59:29 +00:00
Ian Romanick
9204e87b2e
Massive refactor of (most of) the Linux config files. This reduces
...
the length of each config and brings a lot of much needed uniformity
to them.
2005-07-02 07:38:40 +00:00
Brian Paul
d84f09306c
Replace -lGL with -l$(GL_LIB), etc.
...
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
2004-09-13 21:04:48 +00:00
Brian Paul
6cf3f579ef
added library dependencies (bug #978758 )
2004-06-24 15:35:42 +00:00
Ian Romanick
ea93e6d378
Don't include glapi_*.S files in DRI / solo builds.
2004-06-22 21:32:59 +00:00
Brian Paul
a70ad91209
new system configurations
2004-03-26 15:16:35 +00:00