diff --git a/wscript b/wscript index 140b8985..e0b8f212 100644 --- a/wscript +++ b/wscript @@ -218,8 +218,10 @@ def configure (conf): args = '--define-variable=target=win32' elif sys.platform != 'darwin': check_pkg ('x11') - conf.check (header_name='X11/extensions/scrnsaver.h', mandatory=False) - conf.check (lib='Xss', mandatory=False) + # Pass /usr/X11R6/include for OpenBSD + conf.check (header_name='X11/extensions/scrnsaver.h', + includes='/usr/X11R6/include', mandatory=False) + conf.check (lib='Xss', libpath='/usr/X11R6/lib', mandatory=False) check_pkg ('gtk+-2.0', '2.10.0', var='GTK', args=args) check_pkg ('webkit-1.0', '1.1.1', args=args) check_pkg ('libsoup-2.4', '2.25.2')