mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
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:
@@ -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@
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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@",
|
||||
|
||||
Reference in New Issue
Block a user