mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
fix: add msgpack dependency to fuzzer build
This commit is contained in:
parent
40a6bab886
commit
7e1aa442ef
|
@ -9,10 +9,18 @@ RUN apt-get update && \
|
|||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Static builds of dependencies
|
||||
|
||||
# libsodium
|
||||
RUN git clone --depth 1 --branch 1.0.18 https://github.com/jedisct1/libsodium libsodium
|
||||
WORKDIR $SRC/libsodium
|
||||
RUN ./autogen.sh && ./configure --enable-shared=no && make install
|
||||
WORKDIR $SRC
|
||||
|
||||
# msgpack-c
|
||||
RUN git clone --depth 1 --branch c_master https://github.com/msgpack/msgpack-c.git msgpack
|
||||
WORKDIR $SRC/msgpack
|
||||
RUN cmake -DBUILD_SHARED_LIBS=OFF . && make && make install
|
||||
|
||||
# Copy your project's source code.
|
||||
COPY . $SRC/c-toxcore
|
||||
|
|
Loading…
Reference in New Issue
Block a user