From: Erik Hofman Date: Fri, 24 Jun 2016 10:54:01 +0000 (+0200) Subject: Convert PKGLIBDIR to SGPath before returing it to prevent a compiler error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6f8b6aede7c2b13ffd5a6cf5aa18661358540f9c;p=flightgear.git Convert PKGLIBDIR to SGPath before returing it to prevent a compiler error --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 75199e744..2b73c5122 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2561,7 +2561,7 @@ SGPath Options::platformDefaultRoot() const #else SGPath Options::platformDefaultRoot() const { - return PKGLIBDIR; + return SGPath(PKGLIBDIR); } #endif