1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Linux fixes

This commit is contained in:
Brian Fiete 2019-10-29 09:06:51 -07:00
parent 2af278809c
commit c7f76f879a
6 changed files with 17 additions and 17 deletions

View file

@ -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");

View file

@ -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:
}