Browse Source
libboost_python was never supposed to be linked to libpython. Hence the patch, and in turn the dependency to the python package, and in turn the package split, were never necessary.android-5
Tom Yan
7 years ago
committed by
Fredrik Fornwall
4 changed files with 24 additions and 8 deletions
@ -0,0 +1,13 @@ |
|||
diff --git a/bootstrap.sh b/bootstrap.sh
|
|||
index c6f3423..52c08e6 100755
|
|||
--- a/bootstrap.sh
|
|||
+++ b/bootstrap.sh
|
|||
@@ -30,7 +30,7 @@ if test "x$ECHO" = x; then
|
|||
fi |
|||
|
|||
# Internal flags |
|||
-flag_no_python=
|
|||
+flag_no_python=yes
|
|||
flag_icu= |
|||
flag_show_libraries= |
|||
|
@ -1,3 +0,0 @@ |
|||
TERMUX_SUBPKG_INCLUDE="lib/libboost_python*" |
|||
TERMUX_SUBPKG_DESCRIPTION="Boost.Python Library" |
|||
TERMUX_SUBPKG_DEPENDS="python, boost" |
@ -1,11 +1,13 @@ |
|||
--- ../cache/boost_1_65_1/tools/build/src/tools/python.jam 2017-09-02 09:56:19.000000000 +0000
|
|||
+++ ./tools/build/src/tools/python.jam 2018-01-06 01:26:09.993772847 +0000
|
|||
@@ -651,7 +651,7 @@
|
|||
diff --git a/tools/build/src/tools/python.jam b/tools/build/src/tools/python.jam
|
|||
index 273b28a..3de7f40 100644
|
|||
--- a/tools/build/src/tools/python.jam
|
|||
+++ b/tools/build/src/tools/python.jam
|
|||
@@ -651,7 +651,7 @@ local rule system-library-dependencies ( target-os )
|
|||
|
|||
case aix : return <library>pthread <library>dl ; |
|||
|
|||
- case * : return <library>pthread <library>dl
|
|||
+ case * : return <library>dl <linkflags>-lpython3.6m ;
|
|||
+ case * : return <library>dl
|
|||
<toolset>gcc:<library>util <toolset-intel:platform>linux:<library>util ; |
|||
} |
|||
} |
|||
|
Loading…
Reference in new issue