From 1c6f36edc986c3174125c71f653562f519396d05 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 25 Nov 2020 15:52:37 +0900 Subject: [PATCH] Fix build error [ 21s] File "setup.py", line 1175, in run [ 21s] content = content.replace("@%s@" % key, value) [ 21s] TypeError: coercing to Unicode: need string or buffer, NoneType found Change-Id: I089ef03725dd4b227e4f5188da66167f93c62cec Signed-off-by: DongHun Kwak --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8a35829..df282b1 100755 --- a/setup.py +++ b/setup.py @@ -1167,8 +1167,8 @@ class install_pkgconfig(Command): content = h.read() config = { - "prefix": self.install_base, - "exec_prefix": self.install_platbase, + "prefix": "/usr", + "exec_prefix": "", "includedir": "${prefix}/include", "datarootdir": "${prefix}/share", "datadir": "${datarootdir}", -- 2.7.4