JuliaLang/julia — pull request #3186 by staticfloat (2013-05-22 21:15:00+00:00)
Title: Search $LDFLAGS for SuiteSparse before system libraries

Additionally, filter out duplicate libraries found and only use the first ones found. Useful on Homebrew when user has a generic suite-sparse installed (which relies on TBB) as well as the julia-specific suite-sparse installed.