mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-22 22:17:53 +00:00
Update install-cmocka-linux.sh
temporarily fix the cmocka download issue by avoid using https
This commit is contained in:
parent
06541894ea
commit
e9b8968a23
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
set -ex
|
||||||
mkdir cmocka
|
mkdir cmocka
|
||||||
wget https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz -O /tmp/cmocka-1.1.0.tar.xz
|
wget --no-check-certificate http://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz -O /tmp/cmocka-1.1.0.tar.xz
|
||||||
tar -xf /tmp/cmocka-1.1.0.tar.xz -C /tmp
|
tar -xf /tmp/cmocka-1.1.0.tar.xz -C /tmp
|
||||||
cd cmocka && cmake -DUNIT_TESTING=On /tmp/cmocka-1.1.0 && make && make test
|
cd cmocka && cmake -DUNIT_TESTING=On /tmp/cmocka-1.1.0 && make && make test
|
||||||
# cmake builds an so instead of a dll in mingw/msys
|
# cmake builds an so instead of a dll in mingw/msys
|
||||||
|
|
Loading…
Reference in a new issue