1
0
Fork 0

[docker] build libxml++ by meson

This commit is contained in:
Witold Filipczyk 2022-12-02 12:14:14 +01:00
parent 5540ccc950
commit 6052d0a6c3
2 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@ RUN cd /root && apk add \
xz-static
# [*] libxml++5
RUN cd /root && apk add mm-common libtool autoconf automake make xz
RUN cd /root && apk add mm-common libtool xz
# libxml++5 cd
RUN mkdir /root/tmp; cd /root/tmp; \

View File

@ -1,12 +1,13 @@
#!/bin/sh
NOCONFIGURE=1 ./autogen.sh
meson \
-Db_lto=false \
-Dbuild-tests=false \
-Dbuild-examples=false \
-Dbuild-documentation=false \
-Ddefault_library='static' \
. output
./configure \
--enable-static=yes \
--enable-shared=no \
--disable-documentation
meson compile -C output
make -j`nproc`
make install
meson install -C output