It is recommended by Debian and required for the gold linker.
obj.target = 'panels'
obj.includes = '. ..'
obj.find_sources_in_dirs ('../panels')
-obj.uselib = 'UNIQUE LIBSOUP GMODULE GTHREAD GIO GTK SQLITE WEBKIT LIBXML'
+obj.uselib = 'UNIQUE LIBSOUP GMODULE GTHREAD GIO GTK SQLITE WEBKIT LIBXML X11'
obj.uselib_local = 'midori-core'
obj.install_path = None
Utils.pprint ('BLUE', 'Mingw recognized, assuming cross compile.')
+ if Options.platform != 'win32':
+ conf.check_cc (lib='X11', uselib='X11')
+
if conf.env['CONVERT'] and not conf.env['WINRC']:
Utils.pprint ('YELLOW', 'midori.ico won\'t be created')