Adds appropriate extension to library name
Source position: fpmkunit.pp line 1702
function AddLibraryExtension( |
const LibraryName: string; |
AOS: TOS |
):string; |
LibraryName |
|
Base library name to extend |
AOS |
|
Target operating system for extension |
Library name with platform-appropriate extension
AddLibraryExtension adds the platform-appropriate file extension to a library name. This function ensures proper library naming conventions for different operating systems.
The function appends extensions such as .dll for Windows, .so for Linux, or .dylib for macOS, ensuring correct library file naming for the target platform.