[Pkg-xen-changes] [xen] 49/70: tools-python-prefix.diff
Ian James Campbell
ijc at moszumanska.debian.org
Thu Dec 17 14:44:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
ijc pushed a commit to branch feature/bug805508
in repository xen.
commit 4ba43f16abc5e38833757296e5e9c8790ddebe90
Author: Bastian Blank <waldi at debian.org>
Date: Sat Jul 5 11:47:02 2014 +0200
tools-python-prefix.diff
Patch-Name: tools-python-prefix.diff
---
tools/python/setup.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/python/setup.py b/tools/python/setup.py
index 5bf81be..3439066 100644
--- a/tools/python/setup.py
+++ b/tools/python/setup.py
@@ -5,6 +5,7 @@ import os, sys
XEN_ROOT = "../.."
extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ]
+extra_link_args = [ "-Wl,-rpath,${ORIGIN}/../../.." ]
PATH_XEN = XEN_ROOT + "/tools/include"
PATH_LIBXC = XEN_ROOT + "/tools/libxc"
@@ -13,6 +14,7 @@ PATH_XENSTORE = XEN_ROOT + "/tools/xenstore"
xc = Extension("xc",
extra_compile_args = extra_compile_args,
+ extra_link_args = extra_link_args,
include_dirs = [ PATH_XEN, PATH_LIBXC + "/include", "xen/lowlevel/xc" ],
library_dirs = [ PATH_LIBXC ],
libraries = [ "xenctrl", "xenguest" ],
@@ -21,6 +23,7 @@ xc = Extension("xc",
xs = Extension("xs",
extra_compile_args = extra_compile_args,
+ extra_link_args = extra_link_args,
include_dirs = [ PATH_XEN, PATH_XENSTORE + "/include", "xen/lowlevel/xs" ],
library_dirs = [ PATH_XENSTORE ],
libraries = [ "xenstore" ],
@@ -29,6 +32,7 @@ xs = Extension("xs",
xl = Extension("xl",
extra_compile_args = extra_compile_args,
+ extra_link_args = extra_link_args,
include_dirs = [ PATH_XEN, PATH_LIBXL, PATH_LIBXC + "/include", "xen/lowlevel/xl" ],
library_dirs = [ PATH_LIBXL ],
libraries = [ "xenlight" ],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xen/xen.git
More information about the Pkg-xen-changes
mailing list