]> spindle.queued.net Git - midori/commitdiff
Pass /usr/X11R6/include for OpenBSD to find X11
authorRivo Nurges <rix@estpak.ee>
Fri, 30 Apr 2010 21:34:07 +0000 (23:34 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 1 May 2010 01:09:15 +0000 (03:09 +0200)
wscript

diff --git a/wscript b/wscript
index 140b89850a91e2e20949eb225dd97410bd0ffbcc..e0b8f212691e893a1556203ac557ede2da7e0e73 100644 (file)
--- 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')