Search for LDC-specific modules first.

This commit flips the order of the import paths so that the directories we install our stuff to are searched first. This avoids problems if DMD's has been installed to the same directory.
This commit is contained in:
David Nadlinger
2011-11-12 11:33:04 +01:00
parent 9800346e50
commit 235fed831d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
[Environment]
DFLAGS=-I@INCLUDE_INSTALL_DIR@ -L-L@CMAKE_INSTALL_LIBDIR@ -defaultlib=@RUNTIME_AIO@ -debuglib=@RUNTIME_AIO@
DFLAGS=-I@INCLUDE_INSTALL_DIR@/phobos -I-I@INCLUDE_INSTALL_DIR@/ldc -I@INCLUDE_INSTALL_DIR@ -L-L@CMAKE_INSTALL_LIBDIR@ -defaultlib=@RUNTIME_AIO@ -debuglib=@RUNTIME_AIO@

View File

@@ -7,9 +7,9 @@ default:
// 'switches' holds array of string that are appends to the command line
// arguments before they are parsed.
switches = [
"-I@INCLUDE_INSTALL_DIR@",
"-I@INCLUDE_INSTALL_DIR@/phobos",
"-I@INCLUDE_INSTALL_DIR@/ldc",
"-I@INCLUDE_INSTALL_DIR@",
"-L-L@CMAKE_INSTALL_LIBDIR@",
"-defaultlib=lphobos2",
"-debuglib=lphobos2"

View File

@@ -7,9 +7,9 @@ default:
// 'switches' holds array of string that are appends to the command line
// arguments before they are parsed.
switches = [
"-I@INCLUDE_INSTALL_DIR@",
"-I@INCLUDE_INSTALL_DIR@/@RUNTIME_AIO@",
"-I@INCLUDE_INSTALL_DIR@/ldc",
"-I@INCLUDE_INSTALL_DIR@",
"-L-L@CMAKE_INSTALL_LIBDIR@",
"-d-version=Tango",
"-defaultlib=@RUNTIME_AIO@",