Skip to content

Commit

Permalink
Merge pull request #47796 from fastly/jkarneges/fix-internal-include
Browse files Browse the repository at this point in the history
fix internal.conf include when running in-place
  • Loading branch information
jkarneges authored Nov 21, 2023
2 parents fd05b30 + c313e96 commit 649d0e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Settings::Settings(const QString &fileName) :
libdir_ = valueRaw("global/libdir").toString();
if(libdir_.isEmpty())
{
if(QFile::exists("src/pushpin/pushpin.pro"))
if(QFile::exists("src/bin/pushpin.rs"))
{
// running in tree
libdir_ = QFileInfo("src/pushpin").absoluteFilePath();
libdir_ = QFileInfo("src").absoluteFilePath();
}
else
{
Expand Down

0 comments on commit 649d0e9

Please sign in to comment.