File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 418
418
# EM_PKG_CONFIG_PATH ?
419
419
# https://emscripten.org/docs/compiling/Building-Projects.html#pkg-config
420
420
421
- export PKG_CONFIG_PATH=" ${PREFIX} /lib/pkgconfig"
421
+ export PKG_CONFIG_SYSROOT_DIR=" ${SDKROOT} /devices/emsdk"
422
+ export PKG_CONFIG_LIBDIR=" ${SDKROOT} /emsdk/upstream/emscripten/system/lib/pkgconfig"
423
+ export PKG_CONFIG_PATH=" ${SDKROOT} /devices/emsdk/usr/lib//pkgconfig:${HOST_PREFIX} /lib/pkgconfig"
422
424
423
425
if echo $PATH | grep -q $EMSDK /upstream/emscripten/system/bin
424
426
then
446
448
fi
447
449
448
450
mkdir -p src
449
- export PKG_CONFIG_PATH=" ${SDKROOT} /emsdk/upstream/emscripten/system/lib/pkgconfig:${HOST_PREFIX} /lib/pkgconfig"
450
451
451
452
export CPPFLAGS=" -I$PREFIX /include"
452
453
export LDFLAGS=" -L$PREFIX /lib"
Original file line number Diff line number Diff line change 5
5
6
6
. ${CONFIG:- config}
7
7
8
+ if which meson
9
+ then
10
+ echo meson found $( which meson)
11
+ else
12
+ $HPY -m pip install meson
13
+ fi
14
+
8
15
. scripts/emsdk-fetch.sh
9
16
10
17
if pushd ${ROOT} /src
You can’t perform that action at this time.
0 commit comments