Fixed xrender.nim for use_pkg_config
This commit is contained in:
parent
3c9864c9d3
commit
f54cb2e323
1 changed files with 5 additions and 2 deletions
|
|
@ -2,9 +2,12 @@
|
|||
import
|
||||
x, xlib
|
||||
|
||||
when defined(pkclibx):
|
||||
{.passl: gorge("pkg-config xrender --libs").}
|
||||
when defined(use_pkg_config) or defined(use_pkg_config_static):
|
||||
{.pragma: libxrender, cdecl, importc.}
|
||||
when defined(use_pkg_config):
|
||||
{.passl: gorge("pkg-config xrender --libs").}
|
||||
else:
|
||||
{.passl: gorge("pkg-config xrender --static --libs").}
|
||||
else:
|
||||
when defined(macosx):
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue