From: DongHun Kwak Date: Wed, 25 Nov 2020 06:52:37 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/6.5/unified/20211028.230546^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fupstream%2Fpython-gobject.git 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 --- 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}",