JuliaLang/julia — pull request #8132 by eschnett (2014-08-26 01:50:11+00:00)
Title: Rename make variable LIBS

If the initial environment happens to contain a variable LIBS, then make will export its variable LIBS, overriding the environment (see e.g. ). This will break libuv/configure, since Julia's LIBS variable is not what autoconf expects in $LIBS. libuv/configure will then try to execute e.g. "cc -c conftest.c libuv", which is obviously wrong.

Renaming LIBS to DEPS_LIBS solves the issue.