On Mon, 28 Feb 2005 18:29:32 GMT, =?ISO-8859-1?Q?Andr=E9_Medeiros?= said:
> export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm" always works for me.
> 
> Careful though, because it might overwrite whatever you have stored on
> that env. var.

export LDFLAGS="-L/usr/X11R6/lib -lXxf86vm $LDFLAGS"

will prepend to the original with the obvious change to append.

Note however that what you probably wanted if it's the C headers is:

export CFLAGS="-I/usr/X11R6/include $CFLAGS"

(Actually, if your build environment is that scrozzled to need that hint,
you probably need *both* CFLAGS and LDFLAGS tweaks...)

Attachment: pgpcxUu7EMIPB.pgp
Description: PGP signature

Reply via email to