From d3e2b064398d588a5ade74b8feab3d967b100fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 22 Jan 2015 09:18:48 +0800 Subject: [PATCH] Actually fix the substitution this time --- configure.ac | 1 - src/Makefile.am | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1279bf0..29abce6 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,6 @@ if [[ "$PYTHON_EXEC_PREFIX" != "$PYTHON_PREFIX" ]]; then fi PYTHON_LIBS="$PYTHON_LIBS -lpython${PYTHON_VERSION}${PYTHON_ABIFLAGS}" -AC_SUBST(PYTHON) AC_SUBST(PYTHON_CFLAGS) AC_SUBST(PYTHON_LDFLAGS) AC_SUBST(PYTHON_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index b0cb98a..dd56d92 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,7 +12,9 @@ EXTRA_DIST = \ frida-trace.in \ frida-repl.in -do_substitution = sed -e 's,[@]pythondir[@],$(pythondir),g' \ +do_substitution = sed \ + -e 's,[@]PYTHON[@],$(PYTHON),g' \ + -e 's,[@]pythondir[@],$(pythondir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g'