mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Linux fixes
This commit is contained in:
parent
2af278809c
commit
c7f76f879a
6 changed files with 17 additions and 17 deletions
|
@ -484,17 +484,8 @@ namespace IDE
|
|||
}
|
||||
|
||||
public static void GetRtLibNames(Workspace.PlatformType platformType, Workspace.Options workspaceOptions, Project.Options options, bool dynName, String outRt, String outDbg)
|
||||
{
|
||||
if (platformType == .Linux)
|
||||
{
|
||||
if (options.mBuildOptions.mBeefLibType == .DynamicDebug)
|
||||
outRt.Append("libBeefRT_d.so");
|
||||
else
|
||||
outRt.Append("libBeefRT.so");
|
||||
return;
|
||||
}
|
||||
|
||||
if ((platformType == .macOS) || (platformType == .iOS))
|
||||
{
|
||||
if ((platformType == .Linux) || (platformType == .macOS) || (platformType == .iOS))
|
||||
{
|
||||
if (options.mBuildOptions.mBeefLibType == .DynamicDebug)
|
||||
outRt.Append("libBeefRT_d.a");
|
||||
|
|
|
@ -8522,7 +8522,7 @@ namespace IDE
|
|||
newString.AppendF("./{} -Wl,-rpath -Wl,@executable_path", rtName);
|
||||
case .iOS:
|
||||
case .Linux:
|
||||
newString.AppendF("./{} -Wl,-rpath -Wl,$ORIGIN", rtName);
|
||||
newString.AppendF("./{} -lpthread -ldl -Wl,-rpath -Wl,$ORIGIN", rtName);
|
||||
default:
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue