Browse Source

Use the shared library name as a last resort if the symbol is not found.

pull/71/head
triton 13 years ago
parent
commit
1d0a512b80
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

2
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -2189,6 +2189,8 @@ namespace CppSharp.Generators.CSharp
{ {
libName = libName.Substring(3); libName = libName.Substring(3);
} }
if (libName == null)
libName = Options.SharedLibraryName;
if (Options.GenerateInternalImports) if (Options.GenerateInternalImports)
libName = "__Internal"; libName = "__Internal";

Loading…
Cancel
Save