Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGS
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 24 Oct 2010 13:06:50 +0000 (14:06 +0100)
committerChia-I Wu <olv@lunarg.com>
Sun, 24 Oct 2010 15:13:49 +0000 (23:13 +0800)
commit70f60c9c89b4773089c621faf0e5765d9488e9fa
treec465c109aa1e72bf60cc243027701677acc9c3cf
parenta20c2347a0bb9e0e1591b070ee5d0cac81168114
Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGS

Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears
in the link line before any -L in $LDFLAGS, so that we link driver we are
building with libEGL we have just built, and not an installed version

[olv: make a similar change to targets/egl]

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/egl/drivers/Makefile.template
src/gallium/targets/egl/Makefile