diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-04 22:06:19 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-09 11:20:37 +0200 |
commit | 4f7fffeafd670be93b4fa97205e9a9579a84ce03 (patch) | |
tree | 36c0817b833f7aff14185f5bc3e051740341c391 /patches/python_rplicmp-1.0 | |
parent | 808eb6412bbcb267e25b97022b660b70e52e0e44 (diff) | |
download | ptxdist-4f7fffeafd670be93b4fa97205e9a9579a84ce03.tar.gz ptxdist-4f7fffeafd670be93b4fa97205e9a9579a84ce03.tar.xz |
python-rplicmp: build with new python helper
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/python_rplicmp-1.0')
-rw-r--r-- | patches/python_rplicmp-1.0/0001-build-files-correctly.patch | 24 | ||||
-rw-r--r-- | patches/python_rplicmp-1.0/series | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/patches/python_rplicmp-1.0/0001-build-files-correctly.patch b/patches/python_rplicmp-1.0/0001-build-files-correctly.patch new file mode 100644 index 000000000..5f314751c --- /dev/null +++ b/patches/python_rplicmp-1.0/0001-build-files-correctly.patch @@ -0,0 +1,24 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Thu, 4 Jun 2015 22:04:44 +0200 +Subject: [PATCH] build files correctly + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index c06dd85be917..b18627353ebd 100644 +--- a/setup.py ++++ b/setup.py +@@ -4,8 +4,8 @@ from Cython.Distutils import build_ext + + ext_modules=[ + Extension("RplIcmp", +- ["RplIcmp.pyx", "tinyICMPlib.pxd"], +- extra_link_args=["caplib.o", "icmplib.o", "-lcap"], ++ ["RplIcmp.pyx", "tinyICMPlib.pxd", "caplib.c", "icmplib.c"], ++ extra_link_args=["-lcap"], + ) + ] + diff --git a/patches/python_rplicmp-1.0/series b/patches/python_rplicmp-1.0/series new file mode 100644 index 000000000..5f447e6ab --- /dev/null +++ b/patches/python_rplicmp-1.0/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-build-files-correctly.patch +# 6a48180e8222a7764da81c77cb9dd128 - git-ptx-patches magic |