Fixed xrender.nim for use_pkg_config

This commit is contained in:
Yury Benesh 2013-07-09 23:30:11 +03:00
commit f54cb2e323

View file

@ -2,9 +2,12 @@
import import
x, xlib x, xlib
when defined(pkclibx): when defined(use_pkg_config) or defined(use_pkg_config_static):
{.passl: gorge("pkg-config xrender --libs").}
{.pragma: libxrender, cdecl, importc.} {.pragma: libxrender, cdecl, importc.}
when defined(use_pkg_config):
{.passl: gorge("pkg-config xrender --libs").}
else:
{.passl: gorge("pkg-config xrender --static --libs").}
else: else:
when defined(macosx): when defined(macosx):
const const