- extra_ld_opts = [ "-luser32", "-lole32", "-loleaut32", "-ladvapi32" ]
+ extra_ld_opts = []
+ }
+#endif
+
+ ,Package {
+ name = "xlib",
+ import_dirs = if installing
+ then [ "$libdir/imports/xlib" ]
+ else [ "$libdir/hslibs/xlib" ],
+ source_dirs = [],
+ library_dirs = if installing
+ then [ "$libdir" ]
+ else [ "$libdir/hslibs/xlib"
+ , "$libdir/hslibs/xlib/cbits" ],
+ hs_libraries = [ "HSxlib" ],
+ extra_libraries = [ "HSxlib_cbits", "X11" ],
+ include_dirs = if installing
+ then []
+ else [ "$libdir/hslibs/xlib/cbits" ],
+ c_includes = [ "HsXlib.h" ],
+ package_deps = [ "greencard" ],
+ extra_ghc_opts = [],
+ extra_cc_opts = [],
+ extra_ld_opts = []