linkX11IfLinux

fun NativeBinary.linkX11IfLinux(libraryPath: String? = null)

Adds Linux X11 linker options.

Parameters

libraryPath

optional directory passed to the linker with -L. It may be required in a headless build environment where X11 libraries are not present in the default linker search path.