@Override public Linker getLinker(final LinkType type) { if (type.isStaticLibrary()) { return GccLibrarian.getInstance(); } if (type.isSharedLibrary()) { return dllLinker; } return instance; }
@Override public Linker getLinker(final LinkType type) { if (type.isStaticLibrary()) { return GccLibrarian.getInstance(); } // BEGINFREEHEP if (type.isJNIModule()) { return isDarwin() ? machJNILinker : isWindows() ? dllLinker : soLinker; } if (type.isPluginModule()) { return isDarwin() ? machBundleLinker : isWindows() ? dllLinker : soLinker; } if (type.isSharedLibrary()) { return isDarwin() ? machDllLinker : isWindows() ? dllLinker : soLinker; } // ENDFREEHEP return instance; }
public Linker getLinker(LinkType type) { if (type.isStaticLibrary()) { return GccLibrarian.getInstance(); } if (type.isPluginModule()) { if (isDarwin()) { return machBundleLinker; } else { return dllLinker; } } if (type.isSharedLibrary()) { if (isDarwin()) { return machDllLinker; } else { return dllLinker; } } return instance; }