[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools/python: remove references to removed libflask from setup.py



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1328796750 28800
# Node ID 77a906fc5082508e2a9605f957aeca2e24b6f488
# Parent  593deed8f62d73dc617f6dd0a95abd05755d002e
tools/python: remove references to removed libflask from setup.py

Build in SLES11 SP1/2 fails after libflask removal.

> building 'flask' extension
> error: ../../tools/flask/libflask/libflask.so: No such file or
> directory
> make[3]: *** [install] Error 1
> make[3]: Leaving directory
> `/usr/src/packages/BUILD/xen-4.2.24701/non-dbg/tools/python'
> make[2]: *** [subdir-install-python] Error 2

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 593deed8f62d -r 77a906fc5082 tools/python/setup.py
--- a/tools/python/setup.py     Thu Feb 09 06:09:17 2012 -0800
+++ b/tools/python/setup.py     Thu Feb 09 06:12:30 2012 -0800
@@ -45,12 +45,10 @@
 
 flask = Extension("flask",
                extra_compile_args = extra_compile_args,
-               include_dirs       = [ PATH_XEN, PATH_LIBXC, 
"xen/lowlevel/flask",
-                                      "../flask/libflask/include" ],
-               library_dirs       = [ PATH_LIBXC, "../flask/libflask" ],
+               include_dirs       = [ PATH_XEN, PATH_LIBXC, 
"xen/lowlevel/flask" ],
+               library_dirs       = [ PATH_LIBXC ],
                libraries          = [ "xenctrl" ],
-               depends            = [ PATH_LIBXC + "/libxenctrl.so",
-                                      XEN_ROOT + 
"/tools/flask/libflask/libflask.so" ],
+               depends            = [ PATH_LIBXC + "/libxenctrl.so" ],
                sources            = [ "xen/lowlevel/flask/flask.c" ])
 
 ptsname = Extension("ptsname",

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.