Skip to content

Commit ad960df

Browse files
authored
xml2: switch from autotools to meson (lovell#240)
1 parent 2d75cd5 commit ad960df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/lin.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ meson install -C _build --tag bin-devel,devel
231231
mkdir ${DEPS}/xml2
232232
$CURL https://download.gnome.org/sources/libxml2/$(without_patch $VERSION_XML2)/libxml2-${VERSION_XML2}.tar.xz | tar xJC ${DEPS}/xml2 --strip-components=1
233233
cd ${DEPS}/xml2
234-
./configure --host=${CHOST} --prefix=${TARGET} --enable-static --disable-shared --disable-dependency-tracking \
235-
--with-minimum --with-reader --with-writer --with-valid --with-http --with-tree --with-zlib --without-python --without-lzma
236-
make install-strip
234+
meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \
235+
-Dminimum=true
236+
meson install -C _build --tag devel
237237

238238
mkdir ${DEPS}/exif
239239
$CURL https://github.com/libexif/libexif/releases/download/v${VERSION_EXIF}/libexif-${VERSION_EXIF}.tar.bz2 | tar xjC ${DEPS}/exif --strip-components=1

0 commit comments

Comments
 (0)