Files
UnrealEngineUWP/Engine/Source/ThirdParty/libxml2/BuildLinuxLibxml2.sh
Marc Audy 68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00

25 lines
611 B
Bash
Executable File

#!/bin/bash
# Copyright Epic Games, Inc. All Rights Reserved.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
VERSION="libxml2-2.9.10"
mkdir tmp
tar -C ./tmp -zxvf libxml2-2.9.10.tar.gz
cd ./tmp/$VERSION
# add the --prefix "$DIR/$SOURCE" option to prevent the compilation to override
# the system's libxml2 library.
./configure --prefix "$DIR/tmp/build" --with-pic=yes --with-python=no --with-lzma=no
# compile libxml
make;
make install;
cd "$DIR"
cp -R ./tmp/build/include/libxml2/* ./$VERSION/include/
cp -R ./tmp/build/lib/* ./$VERSION/lib/x86_64-unknown-linux-gnu/
rm -rf tmp