From be15b0d5c82a885576ebd52750ad04e740b07b67 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 18 Dec 2010 18:47:44 +0000 Subject: More autoconf svn path=/buildtools/python-header; revision=3574 --- pow/pywrap/Makefile | 6 +++--- pow/pywrap/build.py | 4 ++-- pow/pywrap/python.c | 6 ------ pow/pywrap/pywrap.c | 6 ++++++ 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 pow/pywrap/python.c create mode 100644 pow/pywrap/pywrap.c (limited to 'pow/pywrap') diff --git a/pow/pywrap/Makefile b/pow/pywrap/Makefile index e065bbe6..7c37faab 100644 --- a/pow/pywrap/Makefile +++ b/pow/pywrap/Makefile @@ -1,9 +1,9 @@ # $Id$ -all: python +all: pywrap -python: python.c +pywrap: pywrap.c python build.py clean: - rm -f *.o python + rm -f *.o pywrap diff --git a/pow/pywrap/build.py b/pow/pywrap/build.py index 0160918f..d514be91 100644 --- a/pow/pywrap/build.py +++ b/pow/pywrap/build.py @@ -30,8 +30,8 @@ openssl_dir = os.path.realpath(os.path.join(os.getcwd(), "../../openssl/openssl" cmd = getvar("CC").split() cmd.append("-o") -cmd.append("python") -cmd.append("python.c") +cmd.append("pywrap") +cmd.append("pywrap.c") cmd.append("-Wl,-rpath,%s" % openssl_dir) cmd.append("-L%s" % openssl_dir) diff --git a/pow/pywrap/python.c b/pow/pywrap/python.c deleted file mode 100644 index 10638721..00000000 --- a/pow/pywrap/python.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main(int argc, char **argv) -{ - return Py_Main(argc, argv); -} diff --git a/pow/pywrap/pywrap.c b/pow/pywrap/pywrap.c new file mode 100644 index 00000000..10638721 --- /dev/null +++ b/pow/pywrap/pywrap.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char **argv) +{ + return Py_Main(argc, argv); +} -- cgit v1.2.3