diff options
author | ng0 <ng0@n0.is> | 2019-02-14 16:41:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-14 16:41:09 +0000 |
commit | 783ac3513030b6006d117f156cfc068148757bcf (patch) | |
tree | 8d0e2cce1dc0a591c4c15ec0299d00dbfaac571f /src/util/Makefile.am | |
parent | b54371bd5ca3d86e7e8383149975fdc31b14d0a7 (diff) | |
download | gnunet-783ac3513030b6006d117f156cfc068148757bcf.tar.gz gnunet-783ac3513030b6006d117f156cfc068148757bcf.zip |
Switch to python3.7 (integration-tests incomplete), continue using python2.7 for gnunet-qr with an incredible annoying workaround for autotools inability to deal with 2 major python versions at the same time
Signed-off-by: ng0 <ng0@n0.is>
Diffstat (limited to 'src/util/Makefile.am')
-rw-r--r-- | src/util/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index fd00b077d..1e82ec73a 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -226,7 +226,9 @@ gnunet_timeout_SOURCES = \ | |||
226 | endif | 226 | endif |
227 | 227 | ||
228 | 228 | ||
229 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | 229 | mypython27=$(shell cat $(top_srcdir)/src/util/python27_location) |
230 | |||
231 | do_subst = $(SED) -e 's,[@]PYTHON2[@],${mypython27},g' | ||
230 | 232 | ||
231 | gnunet-qr: gnunet-qr.py.in Makefile | 233 | gnunet-qr: gnunet-qr.py.in Makefile |
232 | $(do_subst) < $(top_srcdir)/src/util/gnunet-qr.py.in > gnunet-qr | 234 | $(do_subst) < $(top_srcdir)/src/util/gnunet-qr.py.in > gnunet-qr |