Skip to content

Commit 6a2a449

Browse files
committed
Added extra check when removing the references.
1 parent cee59e7 commit 6a2a449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void Configs::removeInvalidReferences(const Options &options,vector<Config> &con
178178
if (&otherConfig == &config)
179179
continue;
180180

181-
if (reference == otherConfig.name())
181+
if (otherConfig.isLibrary() && reference == otherConfig.name())
182182
{
183183
found = true;
184184
break;

0 commit comments

Comments
 (0)