mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-08-30 07:42:28 +02:00
performance improvemnt
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
* to web assembly to be used on the browser
|
||||
*/
|
||||
|
||||
/*alloc a new frame buffer*/
|
||||
typedef struct{
|
||||
uint8_t r;
|
||||
uint8_t g;
|
||||
|
@@ -30,5 +30,10 @@ tar xvzf zlib-1.2.11.tar.gz -C ./zlib --strip-components=1
|
||||
rm zlib-1.2.11.tar.gz
|
||||
cd zlib
|
||||
emconfigure ./configure
|
||||
os=`uname -s`
|
||||
if [ "$os" = "Darwin" ]; then
|
||||
sed -i -e 's/AR=libtool/AR=emar/g' Makefile
|
||||
sed -i -e 's/ARFLAGS=-o/ARFLAGS=rc/g' Makefile
|
||||
fi
|
||||
# TODO modify make file using sed if macos
|
||||
emmake make
|
Reference in New Issue
Block a user