Acknowledge presence of circular dependencies to keep GNU ld happy on Linux.

This commit is contained in:
Vas Crabb 2022-06-17 23:51:57 +10:00
parent 3a66b9211f
commit 60179d8c95
2 changed files with 9 additions and 6 deletions

View File

@ -1242,6 +1242,9 @@ configuration { "linux-*" }
"dl",
"rt",
}
flags {
"LinkSupportCircularDependencies",
}
if _OPTIONS["distro"]=="debian-stable" then
defines
{

View File

@ -107,12 +107,6 @@ end
if (STANDALONE~=true) then
findfunction("linkProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"])
end
links {
"osd_" .. _OPTIONS["osd"],
}
links {
"qtdbg_" .. _OPTIONS["osd"],
}
if (STANDALONE~=true) then
links {
"frontend",
@ -122,6 +116,12 @@ end
"optional",
"emu",
}
links {
"osd_" .. _OPTIONS["osd"],
}
links {
"qtdbg_" .. _OPTIONS["osd"],
}
--if (STANDALONE~=true) then
links {
"formats",