Minor build-tdlib.sh fix.
GitOrigin-RevId: 6410a68524d5e40dea3bd0cc4bb68bff9f0a1833
This commit is contained in:
parent
51f06cffe2
commit
20b0aa71b0
@ -24,6 +24,10 @@ OPENSSL_OPTIONS="-DOPENSSL_FOUND=1 \
|
||||
-DOPENSSL_LIBRARIES=\"$OPENSSL_SSL_LIBRARY;$OPENSSL_CRYPTO_LIBRARY\" \
|
||||
-DOPENSSL_VERSION=\"1.1.0j\""
|
||||
|
||||
cd build/generate
|
||||
cmake $TD_ROOT || exit 1
|
||||
cd ../..
|
||||
|
||||
cd build/wasm
|
||||
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS || exit 1
|
||||
cd ../..
|
||||
@ -32,10 +36,6 @@ cd build/asmjs
|
||||
eval emconfigure cmake $TD_ROOT $OPENSSL_OPTIONS -DASMJS=1 || exit 1
|
||||
cd ../..
|
||||
|
||||
cd build/generate
|
||||
cmake $TD_ROOT -GNinja || exit 1
|
||||
cd ../..
|
||||
|
||||
echo "Generating TDLib autogenerated source files..."
|
||||
cmake --build build/generate --target prepare_cross_compiling || exit 1
|
||||
echo "Building TDLib to WebAssembly..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user