[pytango] 16/25: Get -l flags from pkg-config (#31)
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:17:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v8.1.9
in repository pytango.
commit d5299190ec082d80573bf1057129e770c7f7c12b
Author: Benno Fünfstück <benno.fuenfstueck at gmail.com>
Date: Wed Aug 3 19:43:11 2016 +0200
Get -l flags from pkg-config (#31)
The pkg-config function already handles `-l` results from pkg-config. To
get them, we need to pass `--libs-only-l` to pkg-config as well. This
fixes a build error if you try to compile the library on environments
where tango libraries is not located in the same directory as the deps
of tango (zeromq and omniorb).
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 60f77de..5fca2ed 100644
--- a/setup.py
+++ b/setup.py
@@ -60,7 +60,7 @@ def pkg_config(*packages, **config):
"-l": "libraries",
}
cmd = ["pkg-config", "--cflags-only-I",
- "--libs-only-L", " ".join(packages)]
+ "--libs-only-L", "--libs-only-l", " ".join(packages)]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
result = proc.wait()
result = str(proc.communicate()[0].decode("utf-8"))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list