diff --git a/Source/ROSIntegration/ROSIntegration.Build.cs b/Source/ROSIntegration/ROSIntegration.Build.cs index 27a2f9d..d265e92 100644 --- a/Source/ROSIntegration/ROSIntegration.Build.cs +++ b/Source/ROSIntegration/ROSIntegration.Build.cs @@ -89,5 +89,11 @@ public ROSIntegration(ReadOnlyTargetRules Target) : base(Target) PublicAdditionalLibraries.Add(Path.Combine(BSONPath, "lib", "libbson-static-1.0.a")); PublicIncludePaths.Add(Path.Combine(BSONPath, "include", "mac")); } + else if (Target.Platform == UnrealTargetPlatform.Android) + { + Console.WriteLine("Using Linux BSON files for Android build"); + PublicAdditionalLibraries.Add(Path.Combine(BSONPath, "lib", "libbson-static-android-1.0.a")); + PublicIncludePaths.Add(Path.Combine(BSONPath, "include", "linux")); + } } } diff --git a/ThirdParty/bson/lib/libbson-static-android-1.0.a b/ThirdParty/bson/lib/libbson-static-android-1.0.a new file mode 100644 index 0000000..6a4ec4c Binary files /dev/null and b/ThirdParty/bson/lib/libbson-static-android-1.0.a differ