summaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-06-04 17:53:44 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-06-04 17:53:44 -0400
commit3b30be51008b8259db9b826b10096fb35d324a2e (patch)
tree40ed563750a299b93caa1f91f7f1885119833ea7 /libxml2
parentbb038280d2b5e12916d14587fd5e82455b456698 (diff)
downloadspm_packages-3b30be51008b8259db9b826b10096fb35d324a2e.tar.gz
Back to linux development
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/build.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/libxml2/build.sh b/libxml2/build.sh
index 437a9dd..d42157c 100644
--- a/libxml2/build.sh
+++ b/libxml2/build.sh
@@ -10,10 +10,13 @@ build_depends=(
"autoconf"
"libtool"
"pkgconf"
+ "python"
)
depends=(
"icu"
"libiconv"
+ "ncurses"
+ "readline"
"xz"
"zlib"
)
@@ -30,13 +33,17 @@ function prepare() {
}
function build() {
- sh autogen.sh
+ NOCONFIGURE=1 sh autogen.sh
./configure --prefix="${_prefix}" \
--with-icu \
+ --with-history \
+ --with-threads \
+ --with-python="${_runtime}/bin/python3" \
--with-iconv="${_runtime}" \
--with-libz="${_runtime}" \
--with-lzma="${_runtime}"
- make -j${_maxjobs}
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+ PYTHONHASHSEED=0 make -j${_maxjobs}
}
function package() {