diff options
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 |