Skip to content

Commit

Permalink
Pin the version of meson (versatica#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdolzhenko authored and satoren committed Jul 26, 2022
1 parent b375939 commit 72d3573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PIP_DIR = $(MEDIASOUP_OUT_DIR)/pip
INSTALL_DIR ?= $(MEDIASOUP_OUT_DIR)/$(MEDIASOUP_BUILDTYPE)
BUILD_DIR ?= $(MEDIASOUP_OUT_DIR)/$(MEDIASOUP_BUILDTYPE)/build
MESON ?= $(PIP_DIR)/bin/meson
MESON_VERSION ?= 0.61.5
# `MESON_ARGS` can be used to provide extra configuration parameters to Meson, such as adding defines or changing
# optimization options. For instance, use `MESON_ARGS="-DMS_LOG_TRACE -DMS_LOG_FILE_LINE" npm i` to compile worker with
# tracing and enabled.
Expand Down Expand Up @@ -74,7 +75,7 @@ ifeq ($(wildcard $(PIP_DIR)),)
echo "Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package"
# Install `meson` and `ninja` using `pip` into custom location, so we don't
# depend on system-wide installation.
$(PYTHON) -m pip install --upgrade --target=$(PIP_DIR) $(PIP_BUILD_BINARIES) meson ninja
$(PYTHON) -m pip install --upgrade --target=$(PIP_DIR) $(PIP_BUILD_BINARIES) meson==$(MESON_VERSION) ninja
endif

setup: meson-ninja
Expand Down

0 comments on commit 72d3573

Please sign in to comment.