diff --git a/.travis.yml b/.travis.yml index f7fb7fd..b1a5d78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ - DC_NAME=DMD DC_URL=http://downloads.dlang.org/releases/2013/ DC_ARCHIVE=dmd_2.064.2-0_amd64.deb DC_BIN=dmd - DC_NAME=DMD DC_URL=http://downloads.dlang.org/releases/2014/ DC_ARCHIVE=dmd_2.065.0-0_amd64.deb DC_BIN=dmd - DC_NAME=DMD DC_URL=http://downloads.dlang.org/releases/2014/ DC_ARCHIVE=dmd_2.066.0-0_amd64.deb DC_BIN=dmd - # ldc: Latest (0.13.0 / FE 2.064.0 ATM, no support for shared lib) - - DC_NAME=LDC DC_URL=https://github.com/ldc-developers/ldc/releases/download/v0.13.0/ DC_ARCHIVE=ldc2-0.13.0-linux-x86_64.tar.gz DC_BIN=/usr/local/ldc2-0.13.0-linux-x86_64/bin/ldc2 + # ldc: Latest (0.14.0 / FE 2.065.0 ATM) + - DC_NAME=LDC DC_URL=https://github.com/ldc-developers/ldc/releases/download/v0.14.0/ DC_ARCHIVE=ldc2-0.14.0-linux-x86_64.tar.gz DC_BIN=/usr/local/ldc2-0.14.0-linux-x86_64/bin/ldc2 # gdc: Latest (4.9.0 / FE 2.065.0 ATM) - DC_NAME=GDC DC_URL=http://gdcproject.org/downloads/binaries/x86_64-linux-gnu/ DC_ARCHIVE=native_2.065_gcc4.9.0_a8ad6a6678_20140615.tar.xz DC_BIN=/usr/local/x86_64-gdcproject-linux-gnu/bin/gdc diff --git a/source/dub/dub.d b/source/dub/dub.d index fc90328..9b3caf0 100644 --- a/source/dub/dub.d +++ b/source/dub/dub.d @@ -36,6 +36,9 @@ import std.zip; import std.encoding : sanitize; +// Workaround for libcurl liker errors when building with LDC +version (LDC) pragma(lib, "curl"); + /// The default supplier for packages, which is the registry /// hosted by code.dlang.org.