mirror of https://github.com/WerWolv/ImHex.git
build: Integrate my libmagic patch into the Dockerfile rather than my vcpkg fork (#1359)
This PR integrates my libmagic patch into the Dockerfile rather than my vcpkg fork (so we can use the official vcpkg repository in the future) That said, we still use my vcpkg fork for now because official vcpkg fails to compile freetype
This commit is contained in:
parent
c7c05e2621
commit
7b22c49329
|
@ -7,10 +7,15 @@ ARG UNIQUEKEY 1
|
|||
RUN apt update
|
||||
RUN apt install -y git ccache autoconf automake libtool cmake pkg-config
|
||||
|
||||
RUN <<EOF
|
||||
# Install vcpkg
|
||||
# Note: we are using my fork of the repository with a libmagic patch
|
||||
RUN git clone https://github.com/iTrooz/vcpkg --branch libmagic /vcpkg
|
||||
RUN /vcpkg/bootstrap-vcpkg.sh
|
||||
set -xe
|
||||
|
||||
git clone https://github.com/iTrooz/vcpkg /vcpkg
|
||||
/vcpkg/bootstrap-vcpkg.sh
|
||||
sed -i 's/vcpkg_install_make(${EXTRA_ARGS})/vcpkg_install_make(${EXTRA_ARGS} SUBPATH src)/g' /vcpkg/ports/libmagic/portfile.cmake
|
||||
EOF
|
||||
|
||||
# Patch vcpkg build instructions to add -pthread
|
||||
RUN <<EOF
|
||||
|
|
Loading…
Reference in New Issue