[pkg-d-commits] [ldc] 35/74: Fix LLVM trunk build.

Matthias Klumpp mak at moszumanska.debian.org
Thu Jul 13 20:54:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.3.0-beta2
in repository ldc.

commit a28c76df91997992e6c63452b68888a3f92e5f50
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Sun May 21 22:39:55 2017 +0200

    Fix LLVM trunk build.
---
 driver/archiver.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/driver/archiver.cpp b/driver/archiver.cpp
index f95ba39..551e023 100644
--- a/driver/archiver.cpp
+++ b/driver/archiver.cpp
@@ -17,7 +17,6 @@
 #include "driver/archiver.h"
 
 #include "llvm/ADT/Triple.h"
-#include "llvm/LibDriver/LibDriver.h"
 #include "llvm/Object/Archive.h"
 #include "llvm/Object/ArchiveWriter.h"
 #include "llvm/Object/MachO.h"
@@ -26,6 +25,12 @@
 #include "llvm/Support/Path.h"
 #include "llvm/Support/raw_ostream.h"
 
+#if LDC_LLVM_VER >= 500
+#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
+#else
+#include "llvm/LibDriver/LibDriver.h"
+#endif
+
 #include <cstring>
 
 using namespace llvm;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list