2021-03-11 20:29:22 +00:00
|
|
|
Scan the well-known system locations looking for a library file.
|
|
|
|
|
|
|
|
```lua
|
|
|
|
p = os.findlib("libname" [, additionalpaths])
|
|
|
|
```
|
|
|
|
|
|
|
|
### Parameters ###
|
|
|
|
|
2021-09-15 20:36:11 +00:00
|
|
|
`libname` is name of the library to locate. It may be specified with (libX11.so) or without (X11) system-specific decorations.
|
2021-03-11 20:29:22 +00:00
|
|
|
|
|
|
|
`additionalpaths` is a string or a table of one or more additional search path
|
|
|
|
### Return Value ###
|
|
|
|
|
|
|
|
The path containing the library file, if found. Otherwise, nil.
|
|
|
|
|
|
|
|
|
|
|
|
### Availability ###
|
|
|
|
|
|
|
|
Premake 4.0 or later.
|