[Mesa-dev] [PATCH] configure: add support for LLVM 4.0.0svn static libs
Michel Dänzer
michel at daenzer.net
Fri Jul 29 07:27:49 UTC 2016
On 27.07.2016 20:36, Jan Ziak wrote:
> Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail.com>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5c196a9..58c2db4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2535,7 +2535,7 @@ if test "x$MESA_LLVM" != x0; then
> AC_MSG_WARN([Building mesa with statically linked LLVM may cause compilation issues])
> dnl We need to link to llvm system libs when using static libs
> dnl However, only llvm 3.5+ provides --system-libs
> - if test $LLVM_VERSION_MAJOR -eq 3 -a $LLVM_VERSION_MINOR -ge 5; then
> + if test $LLVM_VERSION_MAJOR -ge 4 -o $LLVM_VERSION_MAJOR -eq 3 -a $LLVM_VERSION_MINOR -ge 5; then
> LLVM_LIBS="$LLVM_LIBS `$LLVM_CONFIG --system-libs`"
> fi
> fi
Pushed, thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list