diff --git a/source/dub/dub.d b/source/dub/dub.d index 84e02b1..c30a13c 100644 --- a/source/dub/dub.d +++ b/source/dub/dub.d @@ -158,7 +158,7 @@ logDebug("Trying to use pkg-config to resolve library flags for %s.", libs); auto libflags = execute("pkg-config", "--libs" ~ libs.map!(l => "lib"~l)().array()); enforce(libflags.status == 0, "pkg-config exited with error code "~to!string(libflags.status)); - ret.put(libflags.output.split(" ").map!(f => "-L"~f)().array()); + ret.put(libflags.output.split().map!(f => "-L"~f)().array()); } catch( Exception e ){ logDebug("pkg-config failed: %s", e.msg); logDebug("Falling back to direct -lxyz flags.");