[2/2] makefile: fix python SyntaxError
diff mbox series

Message ID 20190806055950.23842-3-sergey.senozhatsky@gmail.com
State New
Headers show
Series
  • several build fixes
Related show

Commit Message

Sergey Senozhatsky Aug. 6, 2019, 5:59 a.m. UTC
File "<string>", line 1
    import distutils.sysconfig; print distutils.sysconfig.get_config_var('LINKFORSHARED')
                                              ^
SyntaxError: invalid syntax

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/Makefile b/Makefile
index acf99b8..b1264d1 100644
--- a/Makefile
+++ b/Makefile
@@ -499,7 +499,7 @@  clean:
 
 PYTHON_INCLUDES = `python-config --includes`
 PYTHON_LDFLAGS = `python-config --ldflags` \
-		$(shell python -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LINKFORSHARED')")
+		$(shell python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKFORSHARED'))")
 PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0`
 
 ctracecmd.so: $(TCMD_LIB_OBJS) ctracecmd.i