Skip to content

Commit

Permalink
Set env var EM_NODE_JS in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
buzz committed Sep 2, 2021
1 parent 5b7d177 commit 521e9cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ source scripts/build-opts
mkdir -p build/vendor
cd build/vendor

export EM_NODE_JS="${NODE}"

# download sources
wget ${LIBMEDIAINFO_URL} -q -O - | tar -xj
wget ${LIBZEN_URL} -q -O - | tar -xj
Expand Down
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ source scripts/build-opts
mkdir -p build dist
cd build

export EM_NODE_JS="${NODE}"

emcc \
${CXXFLAGS} \
${MediaInfoLib_CXXFLAGS} \
Expand Down

0 comments on commit 521e9cb

Please sign in to comment.