diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-02 11:04:43 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-02 11:04:43 +0000 |
commit | f70473e487d45b9f5a9db77cef8f737b679f253a (patch) | |
tree | befc118cad19816a84bfdb09f45f5abaeccc5838 /tools/examples/xmexample.vti | |
parent | e2f85a0f05b448b351ade19e579bc63cf7a2bdf8 (diff) | |
download | xen-f70473e487d45b9f5a9db77cef8f737b679f253a.tar.gz xen-f70473e487d45b9f5a9db77cef8f737b679f253a.tar.bz2 xen-f70473e487d45b9f5a9db77cef8f737b679f253a.zip |
xmexample: portability fix
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/examples/xmexample.vti')
-rw-r--r-- | tools/examples/xmexample.vti | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/examples/xmexample.vti b/tools/examples/xmexample.vti index 3169e52d03..19070f2a98 100644 --- a/tools/examples/xmexample.vti +++ b/tools/examples/xmexample.vti @@ -7,8 +7,10 @@ #============================================================================ import os, re -arch = os.uname()[4] arch_libdir = 'lib' +arch = os.uname()[4] +if os.uname()[0] == 'Linux' and re.search('64', arch): + arch_libdir = 'lib64' #---------------------------------------------------------------------------- # Kernel image file. |