Commit 564fe6be authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

update build script

parent 3bb4f21a
......@@ -87,6 +87,7 @@ if [ -d ../vlc_patches ] && [ "$(ls -A ../vlc_patches)" ]; then
git am -3 ../vlc_patches/0013-window-add-emscripten-type.patch
git am -3 ../vlc_patches/0014-vout-add-emscripten-gl-es2-and-window-modules.patch
git am -3 ../vlc_patches/0015-vlc_common-add-weak-attribute-support-for-wasm.patch
git am -3 ../vlc_patches/0016-Add-meson_system_name-for-emscripten.patch
# Add OPENAL support
git am -3 ../vlc_patches/openal/*
......
From 013429a1e49a2a11a9875400ca99ca8163eb219c Mon Sep 17 00:00:00 2001
From: Mehdi Sabwat <mehdisabwat@gmail.com>
Date: Tue, 7 Jan 2020 11:57:22 +0100
Subject: [PATCH 1/2] Add meson_system_name for emscripten
---
contrib/src/main.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index a0469fb3e0..15be3d5638 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -658,12 +658,16 @@ else
ifdef HAVE_LINUX
# android has also system = linux and defines HAVE_LINUX
MESON_SYSTEM_NAME = linux
+else
+ifdef HAVE_EMSCRIPTEN
+ MESON_SYSTEM_NAME = emscripten
else
$(error "No meson system name known for this target")
endif
endif
endif
endif
+endif
crossfile.meson: $(SRC)/gen-meson-crossfile.py
$(HOSTVARS_MESON) \
--
2.24.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment